From b5fb39eb73302856329affac603779129a545abd Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 2 Apr 2011 06:46:49 +0000 Subject: 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 --- kdeui/ktoolbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kdeui/ktoolbar.cpp') 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 it( widgets ); TQWidget *wdg; while ( ( wdg = it.current() ) != 0 ) { - if ( wdg->inherits( "QToolButton" ) ) + if ( wdg->inherits( TQTOOLBUTTON_OBJECT_NAME_STRING ) ) static_cast( wdg )->setDown( false ); ++it; } -- cgit v1.2.3