Salome HOME
SIMAN removal
[modules/gui.git] / src / PVViewer / PVViewer_Behaviors.h
index fa2d32af8309983d4e7a27ff888400dbe361d776..ebda1dc7b77447f34b01596977b27ab474420dbb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2010-2015  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 #ifndef PVGUIBEHAVIORS_H_
 #define PVGUIBEHAVIORS_H_
 
+#include "PVViewer.h"
+
 #include <QObject>
 
-class SalomeApp_Module;
-class SUIT_Desktop;
+class QMainWindow;
 class pqPropertiesPanel;
 
 /**!
@@ -33,21 +34,18 @@ class pqPropertiesPanel;
  *    Qt/ApplicationComponents/pqParaViewBehaviors.cxx
  * Except a few ones, behaviors are destroyed when the module is destroyed.
  */
-class PVViewer_Behaviors: public QObject
+class PVVIEWER_EXPORT PVViewer_Behaviors: public QObject
 {
   Q_OBJECT
 
 public:
-  PVViewer_Behaviors(SUIT_Desktop * parent);
+  PVViewer_Behaviors(QMainWindow * parent);
 
-  void instanciateMinimalBehaviors(SUIT_Desktop * desk);
-  void instanciateAllBehaviors(SUIT_Desktop * desk);
+  void instanciateMinimalBehaviors(QMainWindow * desk);
+  void instanciateAllBehaviors(QMainWindow * desk);
 
   virtual ~PVViewer_Behaviors() {}
 
-//public slots:
-//  void onEmulateApply();
-
 private:
   static int BehaviorLoadingLevel;
 };