summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/editors/spinbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/koproperty/editors/spinbox.cpp')
-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());