-// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#include <QTimer>
-vtkStandardNewMacro(QVTK_GenericRenderWindowInteractor);
+vtkStandardNewMacro(QVTK_GenericRenderWindowInteractor)
/*!
Constructor
// Start a one-shot timer for <DELAY> ms.
//
static int DELAY = 1;
- myTimer->setSingleShot(TRUE);
+ myTimer->setSingleShot(true);
myTimer->start(DELAY);
return 1;
}
}
-vtkStandardNewMacro(SVTK_GenericRenderWindowInteractor);
+vtkStandardNewMacro(SVTK_GenericRenderWindowInteractor)
/*!
Constructor