diff options
Diffstat (limited to 'kplato/intervalitem.h')
-rw-r--r-- | kplato/intervalitem.h | 18 |
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 |