diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 20:34:22 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 20:34:22 +0000 |
commit | b09bffed6b43262948018dfb0f11890850ddf7c1 (patch) | |
tree | 138696bfcc7ac01070d0e8ecaa1cdf94611a2bd8 /ksysv/SpinBox.cpp | |
parent | 6d43944a7130b9d1b4ae3fba37b774aced8612cf (diff) | |
download | tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.tar.gz tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.zip |
TQt4 port kdeadmin
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1237416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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()) { |