summaryrefslogtreecommitdiffstats
path: root/blinken/src/button.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 /blinken/src/button.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 'blinken/src/button.cpp')
-rw-r--r--blinken/src/button.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/blinken/src/button.cpp b/blinken/src/button.cpp
index 406112eb..052ef6ed 100644
--- a/blinken/src/button.cpp
+++ b/blinken/src/button.cpp
@@ -20,24 +20,24 @@ button::button(blinkenGame::color c) : m_selected(false), m_color(c)
KConfig *kc = kapp->config();
kc->setGroup("General");
TQString cs = getColorString();
- TQString pixmap = TQString("images/%1h.png").arg(cs);
+ TQString pixmap = TQString("images/%1h.png").tqarg(cs);
switch (c)
{
case blinkenGame::blue:
- m_key = kc->readNumEntry(cs, Qt::Key_3);
+ m_key = kc->readNumEntry(cs, TQt::Key_3);
break;
case blinkenGame::yellow:
- m_key = kc->readNumEntry(cs, Qt::Key_1);
+ m_key = kc->readNumEntry(cs, TQt::Key_1);
break;
case blinkenGame::red:
- m_key = kc->readNumEntry(cs, Qt::Key_2);
+ m_key = kc->readNumEntry(cs, TQt::Key_2);
break;
case blinkenGame::green:
- m_key = kc->readNumEntry(cs, Qt::Key_4);
+ m_key = kc->readNumEntry(cs, TQt::Key_4);
break;
default:
@@ -115,5 +115,5 @@ TQString button::getColorString() const
}
// never happens
- return TQString::null;
+ return TQString();
}