]> SALOME platform Git repositories - modules/visu.git/blobdiff - src/VISUGUI/VisuGUI_DialogRunner.h
Salome HOME
Merge from V5_1_main 14/05/2010
[modules/visu.git] / src / VISUGUI / VisuGUI_DialogRunner.h
index 8fb16ec99b6a082ec17334b3f5a1712c91ea799a..b5172dceb188ee02af21fddab1ce9a0998f4578a 100644 (file)
@@ -1,11 +1,32 @@
-
+//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
+//
+//  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+//  This library is free software; you can redistribute it and/or
+//  modify it under the terms of the GNU Lesser General Public
+//  License as published by the Free Software Foundation; either
+//  version 2.1 of the License.
+//
+//  This library is distributed in the hope that it will be useful,
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+//  Lesser General Public License for more details.
+//
+//  You should have received a copy of the GNU Lesser General Public
+//  License along with this library; if not, write to the Free Software
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
 
 #ifndef DIALOG_RUNNER_HEADER
 #define DIALOG_RUNNER_HEADER
 
-#include <qobject.h>
+#include <QObject>
 
 class QDialog;
+class QEventLoop;
 
 class VisuGUI_DialogRunner : public QObject
 {
@@ -23,8 +44,8 @@ private slots:
   void onDialogDelete();
 
 private:
-  QDialog*   myDlg;
-  bool       myInLoop;
+  QDialog*    myDlg;
+  QEventLoop* myEventLoop;
 };
 
 #endif