X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPVViewer%2FPVViewer_Behaviors.h;h=ebda1dc7b77447f34b01596977b27ab474420dbb;hb=2400f3659b65727d5a776dccd3d5dd506d755a88;hp=fa2d32af8309983d4e7a27ff888400dbe361d776;hpb=b330d1f023e897cfddde5a0cb7efd949c317d5a5;p=modules%2Fgui.git diff --git a/src/PVViewer/PVViewer_Behaviors.h b/src/PVViewer/PVViewer_Behaviors.h index fa2d32af8..ebda1dc7b 100644 --- a/src/PVViewer/PVViewer_Behaviors.h +++ b/src/PVViewer/PVViewer_Behaviors.h @@ -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 @@ -22,10 +22,11 @@ #ifndef PVGUIBEHAVIORS_H_ #define PVGUIBEHAVIORS_H_ +#include "PVViewer.h" + #include -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; };