summaryrefslogtreecommitdiffstats
path: root/kdeui/ktoolbar.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-02 06:46:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-02 06:46:49 +0000
commitb5fb39eb73302856329affac603779129a545abd (patch)
treed07172449a51f48bbc62681653f71aa1287abd7d /kdeui/ktoolbar.cpp
parent1c4e273a42588ec915cb94f7b1ceeed2468c9f07 (diff)
downloadtdelibs-b5fb39eb73302856329affac603779129a545abd.tar.gz
tdelibs-b5fb39eb73302856329affac603779129a545abd.zip
Change most kdelibs inherits() functions to use the new object name define system
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1226839 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/ktoolbar.cpp')
-rw-r--r--kdeui/ktoolbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdeui/ktoolbar.cpp b/kdeui/ktoolbar.cpp
index 456acc438..90a17a486 100644
--- a/kdeui/ktoolbar.cpp
+++ b/kdeui/ktoolbar.cpp
@@ -2236,7 +2236,7 @@ void KToolBar::slotContextAboutToHide()
TQPtrListIterator<TQWidget> it( widgets );
TQWidget *wdg;
while ( ( wdg = it.current() ) != 0 ) {
- if ( wdg->inherits( "QToolButton" ) )
+ if ( wdg->inherits( TQTOOLBUTTON_OBJECT_NAME_STRING ) )
static_cast<TQToolButton*>( wdg )->setDown( false );
++it;
}