|
|
@ -1464,7 +1464,7 @@ TQColorGroup QtCurveStyle::setColorGroup(const TQColorGroup &old, const TQColorG
|
|
|
|
return newGrp;
|
|
|
|
return newGrp;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const char * kdeToolbarWidget="kde toolbar widget";
|
|
|
|
static const char * kdeToolbarWidget="tde toolbar widget";
|
|
|
|
|
|
|
|
|
|
|
|
void QtCurveStyle::polish(const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void *ptr)
|
|
|
|
void QtCurveStyle::polish(const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void *ptr)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -2035,7 +2035,7 @@ bool QtCurveStyle::objectEventHandler( const TQStyleControlElementData &ceData,
|
|
|
|
if(object->parent() && 0==qstrcmp(object->name(), kdeToolbarWidget))
|
|
|
|
if(object->parent() && 0==qstrcmp(object->name(), kdeToolbarWidget))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// Draw background for custom widgets in the toolbar that have specified a
|
|
|
|
// Draw background for custom widgets in the toolbar that have specified a
|
|
|
|
// "kde toolbar widget" name.
|
|
|
|
// "tde toolbar widget" name.
|
|
|
|
if(TQEvent::Paint==event->type())
|
|
|
|
if(TQEvent::Paint==event->type())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQWidget *widget(TQT_TQWIDGET(object)),
|
|
|
|
TQWidget *widget(TQT_TQWIDGET(object)),
|
|
|
|