summaryrefslogtreecommitdiffstats
path: root/tdestyles/kthemestyle/kthemestyle.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-08-07 17:24:38 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-08-07 17:24:38 -0500
commit32f50cd6f959faf422b389d2d0b52e0930a78c09 (patch)
tree6b94678043cf7ce97f0f5f1ac42681ef0ae5d9f8 /tdestyles/kthemestyle/kthemestyle.cpp
parent3b970e49bd257b679af0d2cf710c67cf4b931e9c (diff)
downloadtdelibs-32f50cd6f959faf422b389d2d0b52e0930a78c09.tar.gz
tdelibs-32f50cd6f959faf422b389d2d0b52e0930a78c09.zip
Rename the string kde toolbar widget
Diffstat (limited to 'tdestyles/kthemestyle/kthemestyle.cpp')
-rw-r--r--tdestyles/kthemestyle/kthemestyle.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdestyles/kthemestyle/kthemestyle.cpp b/tdestyles/kthemestyle/kthemestyle.cpp
index f09482ccc..5ddbb3899 100644
--- a/tdestyles/kthemestyle/kthemestyle.cpp
+++ b/tdestyles/kthemestyle/kthemestyle.cpp
@@ -506,7 +506,7 @@ bool KThemeStyle::objectEventHandler( const TQStyleControlElementData &ceData, C
w->setPalette(pal);
}
}
- if (!qstrcmp(object->name(), "kde toolbar widget") && object->inherits(TQLABEL_OBJECT_NAME_STRING))
+ if (!qstrcmp(object->name(), "tde toolbar widget") && object->inherits(TQLABEL_OBJECT_NAME_STRING))
{
TQWidget* lb = TQT_TQWIDGET(object);
if (lb->backgroundMode() == TQt::PaletteButton)
@@ -526,7 +526,7 @@ void KThemeStyle::polish( const TQStyleControlElementData &ceData, ControlElemen
if (::tqqt_cast<TQStatusBar*>(w))
w->setPaletteBackgroundColor(TQApplication::palette().color(TQPalette::Normal, TQColorGroup::Background));
- if (::tqqt_cast<TQLabel*>(w) && !qstrcmp(w->name(), "kde toolbar widget"))
+ if (::tqqt_cast<TQLabel*>(w) && !qstrcmp(w->name(), "tde toolbar widget"))
installObjectEventHandler(ceData, elementFlags, ptr, this);
if (w->backgroundPixmap() && !w->isTopLevel() &&
@@ -644,7 +644,7 @@ void KThemeStyle::unPolish( const TQStyleControlElementData &ceData, ControlElem
}
//Toolbar labels should nornally be PaletteButton
- if ( ::tqqt_cast<TQLabel*>(w) && !qstrcmp(w->name(), "kde toolbar widget"))
+ if ( ::tqqt_cast<TQLabel*>(w) && !qstrcmp(w->name(), "tde toolbar widget"))
w->setBackgroundMode( TQWidget::PaletteButton );
//The same for menu bars, popup menus