summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/editors
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-14 21:19:12 +0900
committerMichele Calgaro <[email protected]>2023-12-15 00:43:41 +0900
commit3aab8aa05b954b80e336517f93463a9b5f50f3d6 (patch)
treebe6bb581b1cb695d388cb4be10282514bb067401 /lib/koproperty/editors
parentfb6b4d204d1155fa3a1bc7a128873340db1524f7 (diff)
downloadkoffice-3aab8aa05b954b80e336517f93463a9b5f50f3d6.tar.gz
koffice-3aab8aa05b954b80e336517f93463a9b5f50f3d6.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'lib/koproperty/editors')
-rw-r--r--lib/koproperty/editors/spinbox.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/koproperty/editors/spinbox.cpp b/lib/koproperty/editors/spinbox.cpp
index 81f0c1cb..3a53d9a0 100644
--- a/lib/koproperty/editors/spinbox.cpp
+++ b/lib/koproperty/editors/spinbox.cpp
@@ -40,7 +40,7 @@ IntSpinBox::IntSpinBox(int lower, int upper, int step, int value, int base, IntE
installEventFilter(editor());
installEventFilter(this);
TQObjectList *spinwidgets = queryList( "TQSpinWidget", 0, false, true );
- TQSpinWidget* spin = static_cast<TQSpinWidget*>(TQT_TQWIDGET(spinwidgets->first()));
+ TQSpinWidget* spin = static_cast<TQSpinWidget*>(spinwidgets->first());
if (spin)
spin->installEventFilter(this);
delete spinwidgets;
@@ -155,7 +155,7 @@ void
IntEdit::updateSpinWidgets()
{
TQObjectList *spinwidgets = queryList( "TQSpinWidget", 0, false, true );
- TQSpinWidget* spin = static_cast<TQSpinWidget*>(TQT_TQWIDGET(spinwidgets->first()));
+ TQSpinWidget* spin = static_cast<TQSpinWidget*>(spinwidgets->first());
if (spin) {
spin->setUpEnabled(!isReadOnly());
spin->setDownEnabled(!isReadOnly());
@@ -183,7 +183,7 @@ DoubleSpinBox::DoubleSpinBox (double lower, double upper, double step, double va
installEventFilter(editor());
installEventFilter(this);
TQObjectList *spinwidgets = queryList( "TQSpinWidget", 0, false, true );
- TQSpinWidget* spin = static_cast<TQSpinWidget*>(TQT_TQWIDGET(spinwidgets->first()));
+ TQSpinWidget* spin = static_cast<TQSpinWidget*>(spinwidgets->first());
if (spin)
spin->installEventFilter(this);
delete spinwidgets;
@@ -308,7 +308,7 @@ void
DoubleEdit::updateSpinWidgets()
{
TQObjectList *spinwidgets = queryList( "TQSpinWidget", 0, false, true );
- TQSpinWidget* spin = static_cast<TQSpinWidget*>(TQT_TQWIDGET(spinwidgets->first()));
+ TQSpinWidget* spin = static_cast<TQSpinWidget*>(spinwidgets->first());
if (spin) {
spin->setUpEnabled(!isReadOnly());
spin->setDownEnabled(!isReadOnly());