diff options
Diffstat (limited to 'lib/koproperty')
-rw-r--r-- | lib/koproperty/editors/spinbox.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/koproperty/editors/spinbox.cpp b/lib/koproperty/editors/spinbox.cpp index 4743f570..4d9266a8 100644 --- a/lib/koproperty/editors/spinbox.cpp +++ b/lib/koproperty/editors/spinbox.cpp @@ -39,7 +39,7 @@ IntSpinBox::IntSpinBox(int lower, int upper, int step, int value, int base, IntE editor()->setAlignment(TQt::AlignLeft); installEventFilter(editor()); installEventFilter(this); - TQObjectList *spinwidgets = queryList( TQSPINWIDGET_OBJECT_NAME_STRING, 0, false, true ); + TQObjectList *spinwidgets = queryList( "TQSpinWidget", 0, false, true ); TQSpinWidget* spin = static_cast<TQSpinWidget*>(TQT_TQWIDGET(spinwidgets->first())); if (spin) spin->installEventFilter(this); @@ -154,7 +154,7 @@ IntEdit::slotValueChanged(int) void IntEdit::updateSpinWidgets() { - TQObjectList *spinwidgets = queryList( TQSPINWIDGET_OBJECT_NAME_STRING, 0, false, true ); + TQObjectList *spinwidgets = queryList( "TQSpinWidget", 0, false, true ); TQSpinWidget* spin = static_cast<TQSpinWidget*>(TQT_TQWIDGET(spinwidgets->first())); if (spin) { spin->setUpEnabled(!isReadOnly()); @@ -182,7 +182,7 @@ DoubleSpinBox::DoubleSpinBox (double lower, double upper, double step, double va editor()->setAlignment(TQt::AlignLeft); installEventFilter(editor()); installEventFilter(this); - TQObjectList *spinwidgets = queryList( TQSPINWIDGET_OBJECT_NAME_STRING, 0, false, true ); + TQObjectList *spinwidgets = queryList( "TQSpinWidget", 0, false, true ); TQSpinWidget* spin = static_cast<TQSpinWidget*>(TQT_TQWIDGET(spinwidgets->first())); if (spin) spin->installEventFilter(this); @@ -307,7 +307,7 @@ DoubleEdit::slotValueChanged(double) void DoubleEdit::updateSpinWidgets() { - TQObjectList *spinwidgets = queryList( TQSPINWIDGET_OBJECT_NAME_STRING, 0, false, true ); + TQObjectList *spinwidgets = queryList( "TQSpinWidget", 0, false, true ); TQSpinWidget* spin = static_cast<TQSpinWidget*>(TQT_TQWIDGET(spinwidgets->first())); if (spin) { spin->setUpEnabled(!isReadOnly()); |