summaryrefslogtreecommitdiffstats
path: root/src/numpadvbutton.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 20:48:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 20:48:12 +0000
commite0e4bf64073ac54a136c2b42b5530687b246f24a (patch)
tree2f68d9a750bb8349928a2020d9640d63040e4af4 /src/numpadvbutton.cpp
parentf2c25668ebf4de0e17c6558c1d8e3051057b55fd (diff)
downloadkvkbd-e0e4bf64073ac54a136c2b42b5530687b246f24a.tar.gz
kvkbd-e0e4bf64073ac54a136c2b42b5530687b246f24a.zip
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
Diffstat (limited to 'src/numpadvbutton.cpp')
-rw-r--r--src/numpadvbutton.cpp8
1 files changed, 4 insertions, 4 deletions
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);
}
}