summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmdockwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 07:08:32 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 07:08:32 +0000
commit6803a8bb7fb8dbc6b4dab1215bfa601c4ecb6245 (patch)
tree210e6ed3b487f4112a2911f0330311dcce787211 /kpovmodeler/pmdockwidget.cpp
parent507b8d425002104d5b9bd2df6968638b181af11e (diff)
downloadtdegraphics-6803a8bb7fb8dbc6b4dab1215bfa601c4ecb6245.tar.gz
tdegraphics-6803a8bb7fb8dbc6b4dab1215bfa601c4ecb6245.zip
Fix a number of runtime object identification problems which led to an even larger array of minor glitches
NOTE: kdevelop and kdewebdev still need to be fully repaired git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1222475 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmdockwidget.cpp')
-rw-r--r--kpovmodeler/pmdockwidget.cpp4
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;