diff options
Diffstat (limited to 'kpovmodeler/pmdockwidget.cpp')
-rw-r--r-- | kpovmodeler/pmdockwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kpovmodeler/pmdockwidget.cpp b/kpovmodeler/pmdockwidget.cpp index 499d1cef..67fbc1c7 100644 --- a/kpovmodeler/pmdockwidget.cpp +++ b/kpovmodeler/pmdockwidget.cpp @@ -1310,7 +1310,7 @@ void PMDockManager::activate() obj->show(); } } - if ( !main->inherits("TQDialog") ) main->show(); + if ( !main->inherits(TQDIALOG_OBJECT_NAME_STRING) ) main->show(); } bool PMDockManager::eventFilter( TQObject *obj, TQEvent *event ) @@ -2466,7 +2466,7 @@ void PMDockArea::resizeEvent(TQResizeEvent *rsize) #ifndef NO_KDE2 kdDebug()<<"PMDockArea::resize"<<endl; #endif - TQObjectList *list=queryList("TQWidget",0,false); + TQObjectList *list=queryList(TQWIDGET_OBJECT_NAME_STRING,0,false); TQObjectListIt it( *list ); // iterate over the buttons TQObject *obj; |