summaryrefslogtreecommitdiffstats
path: root/tdestyles
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
parent3b970e49bd257b679af0d2cf710c67cf4b931e9c (diff)
downloadtdelibs-32f50cd6f959faf422b389d2d0b52e0930a78c09.tar.gz
tdelibs-32f50cd6f959faf422b389d2d0b52e0930a78c09.zip
Rename the string kde toolbar widget
Diffstat (limited to 'tdestyles')
-rw-r--r--tdestyles/highcolor/highcolor.cpp4
-rw-r--r--tdestyles/keramik/keramik.cpp6
-rw-r--r--tdestyles/kthemestyle/kthemestyle.cpp6
-rw-r--r--tdestyles/plastik/plastik.cpp6
4 files changed, 11 insertions, 11 deletions
diff --git a/tdestyles/highcolor/highcolor.cpp b/tdestyles/highcolor/highcolor.cpp
index 353fee30d..2017c400c 100644
--- a/tdestyles/highcolor/highcolor.cpp
+++ b/tdestyles/highcolor/highcolor.cpp
@@ -96,7 +96,7 @@ static const int itemHMargin = 3;
static const int itemVMargin = 0;
static const int arrowHMargin = 6;
static const int rightBorder = 12;
-static const char* kdeToolbarWidget = "kde toolbar widget";
+static const char* kdeToolbarWidget = "tde toolbar widget";
// ---------------------------------------------------------------------------
@@ -2023,7 +2023,7 @@ bool HighColorStyle::objectEventHandler( const TQStyleControlElementData &ceData
if ( object->parent() && !qstrcmp( object->name(), kdeToolbarWidget ) )
{
// Draw a gradient background for custom widgets in the toolbar
- // that have specified a "kde toolbar widget" name.
+ // that have specified a "tde toolbar widget" name.
// FIXME
// This currently requires direct widget access
// Is there any way to do this without it?
diff --git a/tdestyles/keramik/keramik.cpp b/tdestyles/keramik/keramik.cpp
index 759f3d7da..f3a5ee033 100644
--- a/tdestyles/keramik/keramik.cpp
+++ b/tdestyles/keramik/keramik.cpp
@@ -113,7 +113,7 @@ namespace
const int itemVMargin = 0;
const int arrowHMargin = 6;
const int rightBorder = 12;
- const char* kdeToolbarWidget = "kde toolbar widget";
+ const char* kdeToolbarWidget = "tde toolbar widget";
const int smallButMaxW = 27;
const int smallButMaxH = 20;
@@ -482,7 +482,7 @@ static void renderToolbarEntryBackground(TQPainter* paint,
static void renderToolbarWidgetBackground(TQPainter* painter, const TQStyleControlElementData &ceData, const TQStyle::ControlElementFlags elementFlags, const TQWidget* widget)
{
// Draw a gradient background for custom widgets in the toolbar
- // that have specified a "kde toolbar widget" name, or
+ // that have specified a "tde toolbar widget" name, or
// are caught as toolbar widgets otherwise
// Find the top-level toolbar of this widget, since it may be nested in other
@@ -2917,7 +2917,7 @@ bool KeramikStyle::objectEventHandler( const TQStyleControlElementData &ceData,
object->parent() && !qstrcmp(object->name(), kdeToolbarWidget) )
{
// Draw a gradient background for custom widgets in the toolbar
- // that have specified a "kde toolbar widget" name.
+ // that have specified a "tde toolbar widget" name.
renderToolbarWidgetBackground(0, ceData, elementFlags, TQT_TQWIDGET(object));
return false; // Now draw the contents
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
diff --git a/tdestyles/plastik/plastik.cpp b/tdestyles/plastik/plastik.cpp
index 7abba20a4..b2801efc8 100644
--- a/tdestyles/plastik/plastik.cpp
+++ b/tdestyles/plastik/plastik.cpp
@@ -261,7 +261,7 @@ void PlastikStyle::polish(const TQStyleControlElementData &ceData, ControlElemen
installObjectEventHandler(ceData, elementFlags, ptr, this);
} else if (::tqqt_cast<TQPopupMenu*>(widget)) {
widget->setBackgroundMode( NoBackground );
- } else if ( !qstrcmp(widget->name(), "kde toolbar widget") ) {
+ } else if ( !qstrcmp(widget->name(), "tde toolbar widget") ) {
installObjectEventHandler(ceData, elementFlags, ptr, this);
}
@@ -301,7 +301,7 @@ void PlastikStyle::unPolish(const TQStyleControlElementData &ceData, ControlElem
removeObjectEventHandler(ceData, elementFlags, ptr, this);
} else if (::tqqt_cast<TQPopupMenu*>(widget)) {
widget->setBackgroundMode( PaletteBackground );
- } else if ( !qstrcmp(widget->name(), "kde toolbar widget") ) {
+ } else if ( !qstrcmp(widget->name(), "tde toolbar widget") ) {
removeObjectEventHandler(ceData, elementFlags, ptr, this);
}
@@ -3510,7 +3510,7 @@ bool PlastikStyle::objectEventHandler( const TQStyleControlElementData &ceData,
animationTimer->start( 50, false );
}
}
- if ( !qstrcmp(obj->name(), "kde toolbar widget") )
+ if ( !qstrcmp(obj->name(), "tde toolbar widget") )
{
TQWidget* lb = TQT_TQWIDGET(obj);
if (lb->backgroundMode() == TQt::PaletteButton)