From e0e4bf64073ac54a136c2b42b5530687b246f24a Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 1 Jul 2011 20:48:12 +0000 Subject: TQt4 port kvkbd This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvkbd@1239029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/numpadvbutton.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/numpadvbutton.cpp') diff --git a/src/numpadvbutton.cpp b/src/numpadvbutton.cpp index 37ea883..7f0a072 100644 --- a/src/numpadvbutton.cpp +++ b/src/numpadvbutton.cpp @@ -19,8 +19,8 @@ ***************************************************************************/ #include "numpadvbutton.h" -NumpadVButton::NumpadVButton(QWidget *parent, const char *name) - : VButton(parent, name) +NumpadVButton::NumpadVButton(TQWidget *tqparent, const char *name) + : VButton(tqparent, name) { } @@ -33,11 +33,11 @@ NumpadVButton::~NumpadVButton() void NumpadVButton::numlockPressed(bool press) { if (press==true){ - QPushButton::setText(u); + TQPushButton::setText(u); VButton::setKeyCode(numlock_code); } else{ - QPushButton::setText(l); + TQPushButton::setText(l); VButton::setKeyCode(cursor_code); } } -- cgit v1.2.1