diff options
Diffstat (limited to 'ksysv/SpinBox.cpp')
-rw-r--r-- | ksysv/SpinBox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ksysv/SpinBox.cpp b/ksysv/SpinBox.cpp index fd93954..fae199b 100644 --- a/ksysv/SpinBox.cpp +++ b/ksysv/SpinBox.cpp @@ -7,8 +7,8 @@ #include "ksv_core.h" #include "SpinBox.h" -KSVSpinBox::KSVSpinBox (TQWidget* parent, const char* name) - : TQSpinBox (0, 99, 1, parent, name), +KSVSpinBox::KSVSpinBox (TQWidget* tqparent, const char* name) + : TQSpinBox (0, 99, 1, tqparent, name), KCompletionBase (), mClearedSelection (false) { @@ -67,7 +67,7 @@ bool KSVSpinBox::eventFilter (TQObject* o, TQEvent* e) Q_UNUSED(o); if (e->type() == TQEvent::KeyPress) { - TQKeyEvent* ke = static_cast<TQKeyEvent*> (e); + TQKeyEvent* ke = TQT_TQKEYEVENT(e); switch (ke->key()) { |