diff options
Diffstat (limited to 'lib/koproperty')
-rw-r--r-- | lib/koproperty/editor.cpp | 2 | ||||
-rw-r--r-- | lib/koproperty/editors/spinbox.cpp | 8 | ||||
-rw-r--r-- | lib/koproperty/test/test.cpp | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/koproperty/editor.cpp b/lib/koproperty/editor.cpp index ddd23539..8dfb6e8b 100644 --- a/lib/koproperty/editor.cpp +++ b/lib/koproperty/editor.cpp @@ -590,7 +590,7 @@ Editor::slotClicked(TQListViewItem *it) if (d->currentWidget) { if (d->currentWidget->visibleFlag()) { d->currentWidget->show(); - if (hasParent( TQT_TQOBJECT(this), TQT_TQOBJECT(kapp->focusWidget()) )) + if (hasParent( this, kapp->focusWidget() )) d->currentWidget->setFocus(); } } 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()); diff --git a/lib/koproperty/test/test.cpp b/lib/koproperty/test/test.cpp index 23bb80f7..b5d9cae5 100644 --- a/lib/koproperty/test/test.cpp +++ b/lib/koproperty/test/test.cpp @@ -50,7 +50,7 @@ Test::Test() /* First, create the Set which will hold the properties. */ Property *p = 0; - m_set = new Set(TQT_TQOBJECT(this), "test"); + m_set = new Set(this, "test"); m_set->setReadOnly(readOnly); TQCString group; if (!flat) { |