summaryrefslogtreecommitdiffstats
path: root/tdestyles/keramik
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 02:32:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 02:32:50 +0900
commit138bb80efac020c7e78871d3f05127eb37f18274 (patch)
tree511cf17073aacacc4e752395839e84c6bbcab3bb /tdestyles/keramik
parent8d79c40791fa0bcac4d4ce1dc7385b19e523ba08 (diff)
downloadtdelibs-138bb80efac020c7e78871d3f05127eb37f18274.tar.gz
tdelibs-138bb80efac020c7e78871d3f05127eb37f18274.zip
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdestyles/keramik')
-rw-r--r--tdestyles/keramik/keramik.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tdestyles/keramik/keramik.cpp b/tdestyles/keramik/keramik.cpp
index 918a96c14..d09fd6f58 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())
{