From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: 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 --- kplato/intervalitem.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kplato/intervalitem.h') 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 -#include -#include +#include +#include +#include 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 interval() { return QPair(m_start, m_end); } + TQPair interval() { return TQPair(m_start, m_end); } private: - QTime m_start; - QTime m_end; + TQTime m_start; + TQTime m_end; }; } //KPlato namespace -- cgit v1.2.1