summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmdockwidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:12:51 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:12:51 -0600
commit65eca7929c22f0f0bc64135c02d85d1243df376c (patch)
tree5b47361590fb6693a0f6258d6a8d725856ef2ad9 /kpovmodeler/pmdockwidget.cpp
parentcd6d514066c22206c388eddbb7fbec32648dbaeb (diff)
downloadtdegraphics-65eca7929c22f0f0bc64135c02d85d1243df376c.tar.gz
tdegraphics-65eca7929c22f0f0bc64135c02d85d1243df376c.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kpovmodeler/pmdockwidget.cpp')
-rw-r--r--kpovmodeler/pmdockwidget.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kpovmodeler/pmdockwidget.cpp b/kpovmodeler/pmdockwidget.cpp
index d92ab0bc..987f6a8c 100644
--- a/kpovmodeler/pmdockwidget.cpp
+++ b/kpovmodeler/pmdockwidget.cpp
@@ -126,7 +126,7 @@ public:
/**
- * A special kind of KMainWindow that is able to have dockwidget child widgets.
+ * A special kind of TDEMainWindow that is able to have dockwidget child widgets.
*
* The main widget should be a dockwidget where other dockwidgets can be docked to
* the left, right, top, bottom or to the middle.
@@ -135,7 +135,7 @@ public:
* @author Max Judin.
*/
PMDockMainWindow::PMDockMainWindow( TQWidget* parent, const char *name, WFlags f)
-:KMainWindow( parent, name, f )
+:TDEMainWindow( parent, name, f )
{
TQString new_name = TQString(name) + TQString("_DockManager");
dockManager = new PMDockManager( this, new_name.latin1() );
@@ -260,7 +260,7 @@ void PMDockMainWindow::setView( TQWidget *view )
}
#ifndef NO_KDE2
- KMainWindow::setCentralWidget(view);
+ TDEMainWindow::setCentralWidget(view);
#else
TQMainWindow::setCentralWidget(view);
#endif
@@ -1271,7 +1271,7 @@ PMDockManager::PMDockManager( TQWidget* mainWindow , const char* name )
menuData->setAutoDelete( true );
#ifndef NO_KDE2
- menu = new KPopupMenu();
+ menu = new TDEPopupMenu();
#else
menu = new TQPopupMenu();
#endif
@@ -2540,10 +2540,10 @@ void PMDockManager::virtual_hook( int, void* )
{ /*BASE::virtual_hook( id, data );*/ }
void PMDockMainWindow::virtual_hook( int id, void* data )
-{ KMainWindow::virtual_hook( id, data ); }
+{ TDEMainWindow::virtual_hook( id, data ); }
void PMDockArea::virtual_hook( int, void* )
-{ /*KMainWindow::virtual_hook( id, data );*/ }
+{ /*TDEMainWindow::virtual_hook( id, data );*/ }
#ifndef NO_INCLUDE_MOCFILES // for TQt-only projects, because tmake doesn't take this name