summaryrefslogtreecommitdiffstats
path: root/kteatime/tealist.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
commitcfc42a28c327b96c6a2afee92af3bac1a479eb8a (patch)
treee3219edf5f827eaa4db3feb509a17846a1a5a752 /kteatime/tealist.cpp
parenta73fc4d7e66fe0824313aa4e9a650c4cddef6e9f (diff)
downloadtdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.tar.gz
tdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1157650 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kteatime/tealist.cpp')
-rw-r--r--kteatime/tealist.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kteatime/tealist.cpp b/kteatime/tealist.cpp
index 0f7aa26..ae32339 100644
--- a/kteatime/tealist.cpp
+++ b/kteatime/tealist.cpp
@@ -7,13 +7,13 @@
------------------------------------------------------------- */
#include <klocale.h>
-#include <qlistview.h>
+#include <tqlistview.h>
#include "tealist.h"
-QString int2time(int time)
+TQString int2time(int time)
{
- QString str;
+ TQString str;
if (time / 60)
str.append(i18n("%1 min").arg(time / 60));
if (time % 60)
@@ -25,14 +25,14 @@ QString int2time(int time)
}
-TeaListItem::TeaListItem(QListView * parent)
- :QListViewItem(parent)
+TeaListItem::TeaListItem(TQListView * parent)
+ :TQListViewItem(parent)
{
}
-TeaListItem::TeaListItem(QListView * parent, QListViewItem *after)
- :QListViewItem(parent, after)
+TeaListItem::TeaListItem(TQListView * parent, TQListViewItem *after)
+ :TQListViewItem(parent, after)
{
}
@@ -43,17 +43,17 @@ TeaListItem::~TeaListItem()
void TeaListItem::setTime(int t)
{
- QListViewItem::setText(1, int2time(t));
+ TQListViewItem::setText(1, int2time(t));
tim = t;
}
-void TeaListItem::setName(const QString &n)
+void TeaListItem::setName(const TQString &n)
{
nam = n;
- QListViewItem::setText(0, n);
+ TQListViewItem::setText(0, n);
}
-QString TeaListItem::name()
+TQString TeaListItem::name()
{
return nam;
}