diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-24 07:08:32 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-24 07:08:32 +0000 |
commit | 170a65dc2a13f0a664d269d3058ffeab129ae83c (patch) | |
tree | 7d7fe2c0ec292fd0d1564fc69ba5358316e0a006 /parts | |
parent | 4dc0617cbcfb47b3301cf9b9a1127fa3b4fea732 (diff) | |
download | tdevelop-170a65dc2a13f0a664d269d3058ffeab129ae83c.tar.gz tdevelop-170a65dc2a13f0a664d269d3058ffeab129ae83c.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/kdevelop@1222475 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts')
-rw-r--r-- | parts/fileselector/kactionselector.cpp | 2 | ||||
-rw-r--r-- | parts/konsole/konsoleviewwidget.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/parts/fileselector/kactionselector.cpp b/parts/fileselector/kactionselector.cpp index a3c4034d..0534901b 100644 --- a/parts/fileselector/kactionselector.cpp +++ b/parts/fileselector/kactionselector.cpp @@ -391,7 +391,7 @@ bool KActionSelector::eventFilter( TQObject *o, TQEvent *e ) } return true; } - else if ( o->inherits( "TQListBox" ) ) + else if ( o->inherits( TQLISTBOX_OBJECT_NAME_STRING ) ) { switch ( ((TQKeyEvent*)e)->key() ) { diff --git a/parts/konsole/konsoleviewwidget.cpp b/parts/konsole/konsoleviewwidget.cpp index 1604a321..cced1b88 100644 --- a/parts/konsole/konsoleviewwidget.cpp +++ b/parts/konsole/konsoleviewwidget.cpp @@ -62,7 +62,7 @@ void KonsoleViewWidget::activate() setFocusProxy(part->widget()); part->widget()->setFocus(); - if (part->widget()->inherits("TQFrame")) + if (part->widget()->inherits(TQFRAME_OBJECT_NAME_STRING)) ((TQFrame*)part->widget())->setFrameStyle(TQFrame::Panel|TQFrame::Sunken); vbox->addWidget(part->widget()); |