diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-11 21:42:08 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-11 21:42:08 +0900 |
commit | 20e4a19b0d7cc800d57be50c56d69023adae4046 (patch) | |
tree | 522b0ae95b8f7e9ee59a3b405de24b2dd8180bc4 /lib/koproperty/editors | |
parent | c2fdb394e63c0df50f1a38eace1077a9151374ce (diff) | |
download | koffice-20e4a19b0d7cc800d57be50c56d69023adae4046.tar.gz koffice-20e4a19b0d7cc800d57be50c56d69023adae4046.zip |
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/koproperty/editors')
-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()); |