summaryrefslogtreecommitdiffstats
path: root/kplato/intervalitem.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kplato/intervalitem.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kplato/intervalitem.h')
-rw-r--r--kplato/intervalitem.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kplato/intervalitem.h b/kplato/intervalitem.h
index 9bc8992b..2ee6b4c6 100644
--- a/kplato/intervalitem.h
+++ b/kplato/intervalitem.h
@@ -20,26 +20,26 @@
#ifndef INTERVALITEM_H
#define INTERVALITEM_H
-#include <qlistview.h>
-#include <qdatetime.h>
-#include <qpair.h>
+#include <tqlistview.h>
+#include <tqdatetime.h>
+#include <tqpair.h>
namespace KPlato
{
-class IntervalItem : public QListViewItem
+class IntervalItem : public TQListViewItem
{
public:
- IntervalItem(QListView * parent, QTime start, QTime end)
- : QListViewItem(parent, QString("%1 - %2").arg(start.toString(), end.toString())),
+ IntervalItem(TQListView * tqparent, TQTime start, TQTime end)
+ : TQListViewItem(tqparent, TQString("%1 - %2").tqarg(start.toString(), end.toString())),
m_start(start),
m_end(end)
{}
- QPair<QTime, QTime> interval() { return QPair<QTime, QTime>(m_start, m_end); }
+ TQPair<TQTime, TQTime> interval() { return TQPair<TQTime, TQTime>(m_start, m_end); }
private:
- QTime m_start;
- QTime m_end;
+ TQTime m_start;
+ TQTime m_end;
};
} //KPlato namespace