summaryrefslogtreecommitdiffstats
path: root/kiten/kromajiedit.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
commita374efce3a207b39514be3c52264091400ce297e (patch)
tree77bdf654b55826d4f59b53a5621310206bcaead1 /kiten/kromajiedit.cpp
parentf81a494f3957d5cf38c787973415597941934727 (diff)
downloadtdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz
tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kiten/kromajiedit.cpp')
-rw-r--r--kiten/kromajiedit.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kiten/kromajiedit.cpp b/kiten/kromajiedit.cpp
index d58ff2e0..f75f2238 100644
--- a/kiten/kromajiedit.cpp
+++ b/kiten/kromajiedit.cpp
@@ -28,8 +28,8 @@
#include "kromajiedit.h"
-KRomajiEdit::KRomajiEdit(TQWidget *parent, const char *name)
- : KLineEdit(parent, name)
+KRomajiEdit::KRomajiEdit(TQWidget *tqparent, const char *name)
+ : KLineEdit(tqparent, name)
{
kana = "unset";
@@ -163,21 +163,21 @@ void KRomajiEdit::keyPressEvent(TQKeyEvent *e)
ji = ji.lower();
//kdDebug() << "ji = " << ji << endl;
- TQString replace;
+ TQString tqreplace;
//kdDebug () << "kana is " << kana << endl;
if (kana == "hiragana")
- replace = hiragana[ji];
+ tqreplace = hiragana[ji];
else if (kana == "katakana")
- replace = katakana[ji];
+ tqreplace = katakana[ji];
- //kdDebug() << "replace = " << replace << endl;
+ //kdDebug() << "tqreplace = " << tqreplace << endl;
- if (!!replace) // if (replace has something in it)
+ if (!!tqreplace) // if (replace has something in it)
{
//kdDebug() << "replace isn't empty\n";
- setText(curKana + replace);
+ setText(curKana + tqreplace);
if (kana == "katakana")
kana = "hiragana";