From bf85f02dd35b67007f6732d3c7dc76d7ac7f2a3d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 2 Apr 2011 07:41:52 +0000 Subject: Update remaining kdelibs inherits() functions to use new object name defines instead of hard coded string literals git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1226843 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kstyles/kthemestyle/kthemestyle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kstyles/kthemestyle/kthemestyle.cpp') diff --git a/kstyles/kthemestyle/kthemestyle.cpp b/kstyles/kthemestyle/kthemestyle.cpp index 87a2f0d70..b23003cb5 100644 --- a/kstyles/kthemestyle/kthemestyle.cpp +++ b/kstyles/kthemestyle/kthemestyle.cpp @@ -488,7 +488,7 @@ bool KThemeStyle::eventFilter( TQObject* object, TQEvent* event ) w->setPalette(pal); } } - if (!qstrcmp(object->name(), "kde toolbar widget") && object->inherits("QLabel")) + if (!qstrcmp(object->name(), "kde toolbar widget") && object->inherits(TQLABEL_OBJECT_NAME_STRING)) { TQWidget* lb = TQT_TQWIDGET(object); if (lb->backgroundMode() == TQt::PaletteButton) -- cgit v1.2.1