diff --git a/kpovmodeler/pmdockwidget.cpp b/kpovmodeler/pmdockwidget.cpp index 7c0775ef..e37b00b7 100644 --- a/kpovmodeler/pmdockwidget.cpp +++ b/kpovmodeler/pmdockwidget.cpp @@ -1310,7 +1310,7 @@ void PMDockManager::activate() obj->show(); } } - if ( !main->inherits(TQDIALOG_OBJECT_NAME_STRING) ) main->show(); + if ( !main->inherits("TQDialog") ) main->show(); } bool PMDockManager::eventFilter( TQObject *obj, TQEvent *event ) @@ -2468,7 +2468,7 @@ void PMDockArea::resizeEvent(TQResizeEvent *rsize) #ifndef NO_KDE2 kdDebug()<<"PMDockArea::resize"<view() ) { TQWidget *widget = fileWidget->view()->widget(); - if ( widget->inherits( TQICONVIEW_OBJECT_NAME_STRING ) || widget->child(0, TQICONVIEW_OBJECT_NAME_STRING ) ){ + if ( widget->inherits( "TQIconView" ) || widget->child(0, "TQIconView" ) ){ fileWidget->setSorting( fileWidget->sorting() ); } } @@ -1320,7 +1320,7 @@ void KuickShow::replayAdvance(DelayedRepeatEvent *event) // rely on sorting to be correct before the TQIconView has been show()n. if ( fileWidget && fileWidget->view() ) { TQWidget *widget = fileWidget->view()->widget(); - if ( widget->inherits( TQICONVIEW_OBJECT_NAME_STRING ) || widget->child(0, TQICONVIEW_OBJECT_NAME_STRING ) ){ + if ( widget->inherits( "TQIconView" ) || widget->child(0, "TQIconView" ) ){ fileWidget->setSorting( fileWidget->sorting() ); } }