diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-02 07:41:52 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-02 07:41:52 +0000 |
commit | bf85f02dd35b67007f6732d3c7dc76d7ac7f2a3d (patch) | |
tree | 3c966548ca8c50ba05e163b7908ec39b51d47c3d /kstyles/kthemestyle | |
parent | b5fb39eb73302856329affac603779129a545abd (diff) | |
download | tdelibs-bf85f02dd35b67007f6732d3c7dc76d7ac7f2a3d.tar.gz tdelibs-bf85f02dd35b67007f6732d3c7dc76d7ac7f2a3d.zip |
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
Diffstat (limited to 'kstyles/kthemestyle')
-rw-r--r-- | kstyles/kthemestyle/kthemestyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |