diff options
Diffstat (limited to 'tdestyles/keramik')
-rw-r--r-- | tdestyles/keramik/keramik.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tdestyles/keramik/keramik.cpp b/tdestyles/keramik/keramik.cpp index 508848b33..a3f35f176 100644 --- a/tdestyles/keramik/keramik.cpp +++ b/tdestyles/keramik/keramik.cpp @@ -369,7 +369,7 @@ void KeramikStyle::polish(const TQStyleControlElementData &ceData, ControlElemen installObjectEventHandler(ceData, elementFlags, ptr, this); } - if (animateProgressBar && ::tqqt_cast<TQProgressBar*>(widget)) + if (animateProgressBar && ::tqt_cast<TQProgressBar*>(widget)) { installObjectEventHandler(ceData, elementFlags, ptr, this); progAnimWidgets[static_cast<TQProgressBar*>(widget)] = 0; @@ -412,7 +412,7 @@ void KeramikStyle::unPolish(const TQStyleControlElementData &ceData, ControlElem widget->setBackgroundMode( PaletteBackground ); removeObjectEventHandler(ceData, elementFlags, ptr, this); } - else if ( ::tqqt_cast<TQProgressBar*>(widget) ) + else if ( ::tqt_cast<TQProgressBar*>(widget) ) { progAnimWidgets.remove(static_cast<TQProgressBar*>(widget)); } @@ -1107,7 +1107,7 @@ void KeramikStyle::drawPrimitive( PrimitiveElement pe, TQWidget* paintWidget = dynamic_cast<TQWidget*>(p->device()); TQToolBar* parent = 0; if (paintWidget) - parent = ::tqqt_cast<TQToolBar*>(paintWidget->parentWidget()); + parent = ::tqt_cast<TQToolBar*>(paintWidget->parentWidget()); renderToolbarEntryBackground(p, parent, r, cg, (flags & Style_Horizontal) ); if ( !(flags & Style_Horizontal) ) @@ -2801,7 +2801,7 @@ bool KeramikStyle::objectEventHandler( const TQStyleControlElementData &ceData, if ( !object->isWidgetType() ) return false; //Combo line edits get special frames - if ( event->type() == TQEvent::Paint && ::tqqt_cast<TQLineEdit*>(object) ) + if ( event->type() == TQEvent::Paint && ::tqt_cast<TQLineEdit*>(object) ) { static bool recursion = false; if (recursion ) @@ -2817,7 +2817,7 @@ bool KeramikStyle::objectEventHandler( const TQStyleControlElementData &ceData, recursion = false; return true; } - else if ( ::tqqt_cast<TQListBox*>(object) ) + else if ( ::tqt_cast<TQListBox*>(object) ) { //Handle combobox drop downs switch (event->type()) @@ -2926,8 +2926,8 @@ bool KeramikStyle::objectEventHandler( const TQStyleControlElementData &ceData, #if 0 // FIXME // This does not work on modern systems // Rather than resorting to hacks like this, which can stop working at any time, the required functionality should simply be added to TQt3! - else if (event->type() == TQEvent::Paint && object->parent() && ::tqqt_cast<TQToolBar*>(object->parent()) - && !::tqqt_cast<TQPopupMenu*>(object) ) + else if (event->type() == TQEvent::Paint && object->parent() && ::tqt_cast<TQToolBar*>(object->parent()) + && !::tqt_cast<TQPopupMenu*>(object) ) { // We need to override the paint event to draw a // gradient on a QToolBarExtensionWidget. @@ -2961,7 +2961,7 @@ bool KeramikStyle::objectEventHandler( const TQStyleControlElementData &ceData, } #endif // Track show events for progress bars - if ( animateProgressBar && ::tqqt_cast<TQProgressBar*>(object) ) + if ( animateProgressBar && ::tqt_cast<TQProgressBar*>(object) ) { if ((event->type() == TQEvent::Show) && !animationTimer->isActive()) { |