summaryrefslogtreecommitdiffstats
path: root/blinken/src/button.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /blinken/src/button.cpp
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'blinken/src/button.cpp')
-rw-r--r--blinken/src/button.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/blinken/src/button.cpp b/blinken/src/button.cpp
index b359e953..406112eb 100644
--- a/blinken/src/button.cpp
+++ b/blinken/src/button.cpp
@@ -19,8 +19,8 @@ button::button(blinkenGame::color c) : m_selected(false), m_color(c)
{
KConfig *kc = kapp->config();
kc->setGroup("General");
- QString cs = getColorString();
- QString pixmap = QString("images/%1h.png").arg(cs);
+ TQString cs = getColorString();
+ TQString pixmap = TQString("images/%1h.png").arg(cs);
switch (c)
{
@@ -45,7 +45,7 @@ button::button(blinkenGame::color c) : m_selected(false), m_color(c)
break;
}
- m_highlighted = new QPixmap(locate("appdata", pixmap));
+ m_highlighted = new TQPixmap(locate("appdata", pixmap));
}
button::~button()
@@ -64,7 +64,7 @@ void button::setShortcut(int key)
kc->sync();
}
-QString button::shortcut() const
+TQString button::shortcut() const
{
return KShortcut(m_key).toString();
}
@@ -84,12 +84,12 @@ bool button::selected() const
return m_selected;
}
-QPixmap *button::pixmap() const
+TQPixmap *button::pixmap() const
{
return m_highlighted;
}
-QString button::getColorString() const
+TQString button::getColorString() const
{
switch (m_color)
{
@@ -115,5 +115,5 @@ QString button::getColorString() const
}
// never happens
- return QString::null;
+ return TQString::null;
}