]> Creatis software - cpPlugins.git/blobdiff - lib/cpPipelineEditor/BaseQtMainWindow.cxx
...
[cpPlugins.git] / lib / cpPipelineEditor / BaseQtMainWindow.cxx
index 24953f02e7270e92ebb0445859b2f49626719209..cf5e41f32b07c686436283ff11e302be651892a2 100644 (file)
@@ -1,6 +1,4 @@
-#include <cpPlugins/BaseQtMainWindow.h>
-
-#ifdef cpPlugins_QT4
+#include <cpPipelineEditor/BaseQtMainWindow.h>
 
 #include <cpExtensions/QT/SimpleMPRWidget.h>
 #include <cpPipelineEditor/Editor.h>
@@ -12,7 +10,7 @@
 #include <QTreeWidget>
 
 // -------------------------------------------------------------------------
-bool cpPlugins::BaseQtMainWindow::_TBlocker::
+bool cpPipelineEditor::BaseQtMainWindow::_TBlocker::
 eventFilter( QObject* obj, QEvent* event )
 {
   return( true ); // -> Block all events
@@ -33,7 +31,7 @@ eventFilter( QObject* obj, QEvent* event )
 }
 
 // -------------------------------------------------------------------------
-cpPlugins::BaseQtMainWindow::
+cpPipelineEditor::BaseQtMainWindow::
 BaseQtMainWindow(
   int argc, char* argv[],
   QApplication* app,
@@ -67,14 +65,14 @@ BaseQtMainWindow(
 }
 
 // -------------------------------------------------------------------------
-cpPlugins::BaseQtMainWindow::
+cpPipelineEditor::BaseQtMainWindow::
 ~BaseQtMainWindow( )
 {
   this->m_Interface.UnloadAll( );
 }
 
 // -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
 _Configure(
   QTreeWidget* tree,
   cpExtensions::QT::SimpleMPRWidget* mpr,
@@ -92,7 +90,7 @@ _Configure(
 }
 
 // -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
 _LoadPlugins( const std::string& filename )
 {
   try
@@ -112,7 +110,7 @@ _LoadPlugins( const std::string& filename )
 }
 
 // -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
 _LoadPluginsFromPath( const std::string& path )
 {
   try
@@ -132,7 +130,7 @@ _LoadPluginsFromPath( const std::string& path )
 }
 
 // -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
 _UpdateLoadedPlugins( )
 {
   this->_Block( );
@@ -199,7 +197,7 @@ _UpdateLoadedPlugins( )
 }
 
 // -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
 _Block( )
 {
   this->m_Application->setOverrideCursor( Qt::WaitCursor );
@@ -207,7 +205,7 @@ _Block( )
 }
 
 // -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
 _UnBlock( )
 {
   while( this->m_Application->overrideCursor( ) )
@@ -216,7 +214,7 @@ _UnBlock( )
 }
 
 // -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
 _LoadWorkspace( const std::string& filename )
 {
   std::string err = this->m_Workspace.LoadWorkspace( filename );
@@ -237,7 +235,7 @@ _LoadWorkspace( const std::string& filename )
 }
 
 // -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
 _SaveWorkspace( const std::string& filename )
 {
   std::string err = this->m_Workspace.SaveWorkspace( filename );
@@ -250,7 +248,7 @@ _SaveWorkspace( const std::string& filename )
 }
 
 // -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
 _InteractiveLoadPlugins( )
 {
   QFileDialog dlg( this );
@@ -272,7 +270,7 @@ _InteractiveLoadPlugins( )
 }
 
 // -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
 _InteractiveLoadPluginsFromPath( )
 {
   QFileDialog dlg( this );
@@ -284,7 +282,7 @@ _InteractiveLoadPluginsFromPath( )
 }
 
 // -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
 _InteractiveLoadWorkspace( )
 {
   QFileDialog dlg( this );
@@ -300,7 +298,7 @@ _InteractiveLoadWorkspace( )
 }
 
 // -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
 _InteractiveSaveWorkspace( )
 {
   QFileDialog dlg( this );
@@ -317,7 +315,7 @@ _InteractiveSaveWorkspace( )
 }
 
 // -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
 _ExecFilter( const std::string& filter_name )
 {
   this->_Block( );
@@ -331,6 +329,4 @@ _ExecFilter( const std::string& filter_name )
       );
 }
 
-#endif // cpPlugins_QT4
-
 // eof - $RCSfile$