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 --- kparts/partmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kparts') diff --git a/kparts/partmanager.cpp b/kparts/partmanager.cpp index bc2afd2a1..2a11e4df5 100644 --- a/kparts/partmanager.cpp +++ b/kparts/partmanager.cpp @@ -209,7 +209,7 @@ bool PartManager::eventFilter( TQObject *obj, TQEvent *ev ) if ( !d->m_managedTopLevelWidgets.tqcontainsRef( w->tqtopLevelWidget() ) ) return false; - if ( d->m_bIgnoreScrollBars && w->inherits( "QScrollBar" ) ) + if ( d->m_bIgnoreScrollBars && w->inherits( TQSCROLLBAR_OBJECT_NAME_STRING ) ) return false; if ( mev ) // mouse press or mouse double-click event -- cgit v1.2.1