|
|
@ -385,12 +385,12 @@ void LipstikStyle::unPolish(const TQStyleControlElementData &ceData, ControlElem
|
|
|
|
|
|
|
|
|
|
|
|
void LipstikStyle::tdehtmlWidgetDestroyed(TQObject* obj)
|
|
|
|
void LipstikStyle::tdehtmlWidgetDestroyed(TQObject* obj)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
tdehtmlWidgets.remove(TQT_TQWIDGET(obj));
|
|
|
|
tdehtmlWidgets.remove(static_cast<TQWidget*>(obj));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void LipstikStyle::progressBarDestroyed(TQObject* obj)
|
|
|
|
void LipstikStyle::progressBarDestroyed(TQObject* obj)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
progAnimWidgets.remove(TQT_TQWIDGET(obj));
|
|
|
|
progAnimWidgets.remove(static_cast<TQWidget*>(obj));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void LipstikStyle::renderContour(TQPainter *p,
|
|
|
|
void LipstikStyle::renderContour(TQPainter *p,
|
|
|
@ -966,7 +966,7 @@ void LipstikStyle::renderPanel(TQPainter *p,
|
|
|
|
|
|
|
|
|
|
|
|
if (kickerMode &&
|
|
|
|
if (kickerMode &&
|
|
|
|
p->device() && p->device()->devType() == TQInternal::Widget &&
|
|
|
|
p->device() && p->device()->devType() == TQInternal::Widget &&
|
|
|
|
TQCString(TQT_TQWIDGET(static_cast<TQWidget*>(p->device()))->className()) == "FittsLawFrame") {
|
|
|
|
TQCString(static_cast<TQWidget*>(p->device())->className()) == "FittsLawFrame") {
|
|
|
|
// Stolen wholesale from Keramik. I don't like it, but oh well.
|
|
|
|
// Stolen wholesale from Keramik. I don't like it, but oh well.
|
|
|
|
if (sunken) {
|
|
|
|
if (sunken) {
|
|
|
|
const TQCOORD corners[] = { x2, y, x2, y2, x, y2, x, y };
|
|
|
|
const TQCOORD corners[] = { x2, y, x2, y2, x, y2, x, y };
|
|
|
@ -3977,7 +3977,7 @@ bool LipstikStyle::objectEventHandler( const TQStyleControlElementData &ceData,
|
|
|
|
|
|
|
|
|
|
|
|
// focus highlight
|
|
|
|
// focus highlight
|
|
|
|
if ( ::tqt_cast<TQLineEdit*>(obj) ) {
|
|
|
|
if ( ::tqt_cast<TQLineEdit*>(obj) ) {
|
|
|
|
TQWidget* widget = TQT_TQWIDGET(obj);
|
|
|
|
TQWidget* widget = static_cast<TQWidget*>(obj);
|
|
|
|
|
|
|
|
|
|
|
|
if ( ::tqt_cast<TQSpinWidget*>(widget->parentWidget()) )
|
|
|
|
if ( ::tqt_cast<TQSpinWidget*>(widget->parentWidget()) )
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -4006,7 +4006,7 @@ bool LipstikStyle::objectEventHandler( const TQStyleControlElementData &ceData,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ( !qstrcmp(obj->name(), "tde toolbar widget") )
|
|
|
|
if ( !qstrcmp(obj->name(), "tde toolbar widget") )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQWidget* lb = TQT_TQWIDGET(obj);
|
|
|
|
TQWidget* lb = static_cast<TQWidget*>(obj);
|
|
|
|
if (lb->backgroundMode() == TQt::PaletteButton)
|
|
|
|
if (lb->backgroundMode() == TQt::PaletteButton)
|
|
|
|
lb->setBackgroundMode(TQt::PaletteBackground);
|
|
|
|
lb->setBackgroundMode(TQt::PaletteBackground);
|
|
|
|
removeObjectEventHandler(ceData, elementFlags, source, this);
|
|
|
|
removeObjectEventHandler(ceData, elementFlags, source, this);
|
|
|
|