summaryrefslogtreecommitdiffstats
path: root/ksysv/SpinBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksysv/SpinBox.cpp')
-rw-r--r--ksysv/SpinBox.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ksysv/SpinBox.cpp b/ksysv/SpinBox.cpp
index cb56bbe..9e52fd0 100644
--- a/ksysv/SpinBox.cpp
+++ b/ksysv/SpinBox.cpp
@@ -17,10 +17,10 @@ KSVSpinBox::KSVSpinBox (TQWidget* parent, const char* name)
editor()->installEventFilter (this);
- connect (editor(), TQT_SIGNAL (textChanged (const TQString&)),
- comp, TQT_SLOT (slotMakeCompletion (const TQString&)));
- connect (comp, TQT_SIGNAL (match (const TQString&)),
- this, TQT_SLOT (handleMatch (const TQString&)));
+ connect (editor(), TQ_SIGNAL (textChanged (const TQString&)),
+ comp, TQ_SLOT (slotMakeCompletion (const TQString&)));
+ connect (comp, TQ_SIGNAL (match (const TQString&)),
+ this, TQ_SLOT (handleMatch (const TQString&)));
}
KSVSpinBox::~KSVSpinBox ()
@@ -67,7 +67,7 @@ bool KSVSpinBox::eventFilter (TQObject* o, TQEvent* e)
Q_UNUSED(o);
if (e->type() == TQEvent::KeyPress)
{
- TQKeyEvent* ke = TQT_TQKEYEVENT(e);
+ TQKeyEvent* ke = static_cast<TQKeyEvent*>(e);
switch (ke->key())
{