#include "PVViewer_Behaviors.h"
-#include <SUIT_Desktop.h>
+#include <QMainWindow>
#include <pqInterfaceTracker.h>
#include <pqApplicationCore.h>
int PVViewer_Behaviors::BehaviorLoadingLevel = 0;
-PVViewer_Behaviors::PVViewer_Behaviors(SUIT_Desktop * parent)
- : QObject(static_cast<QObject *>(parent))
+PVViewer_Behaviors::PVViewer_Behaviors(QMainWindow * parent)
+ : QObject(parent)
{
}
* This method should be updated at each new version of ParaView with what is found in
* Qt/ApplicationComponents/pqParaViewBehaviors.cxx
*/
-void PVViewer_Behaviors::instanciateMinimalBehaviors(SUIT_Desktop * desk)
+void PVViewer_Behaviors::instanciateMinimalBehaviors(QMainWindow * desk)
{
if (BehaviorLoadingLevel < 1)
{
* This method should be updated at each new version of ParaView with what is found in
* Qt/ApplicationComponents/pqParaViewBehaviors.cxx
*/
-void PVViewer_Behaviors::instanciateAllBehaviors(SUIT_Desktop * desk)
+void PVViewer_Behaviors::instanciateAllBehaviors(QMainWindow * desk)
{
// "new pqParaViewBehaviors(anApp->desktop(), this);"
// -> (which loads all standard ParaView behaviors at once) has to be replaced in order to