From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/kotodoviewitem.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'korganizer/kotodoviewitem.h') diff --git a/korganizer/kotodoviewitem.h b/korganizer/kotodoviewitem.h index 5cb362af9..80b3b9617 100644 --- a/korganizer/kotodoviewitem.h +++ b/korganizer/kotodoviewitem.h @@ -26,10 +26,10 @@ #ifndef KOTODOVIEWITEM_H #define KOTODOVIEWITEM_H -#include -#include -#include -#include +#include +#include +#include +#include namespace KCal { class Todo; @@ -55,7 +55,7 @@ class KOTodoViewItem : public QCheckListItem @param todo is the todo to have the item display information for. @param kotodo is a pointer to the KOTodoView object. */ - KOTodoViewItem(QListView *parent, Todo *todo, KOTodoView *kotodo); + KOTodoViewItem(TQListView *parent, Todo *todo, KOTodoView *kotodo); KOTodoViewItem(KOTodoViewItem *parent, Todo *todo, KOTodoView *kotodo); virtual ~KOTodoViewItem() {} @@ -64,13 +64,13 @@ class KOTodoViewItem : public QCheckListItem Todo *todo() const { return mTodo; } bool isAlternate(); - int compare( QListViewItem *i, int col, bool ascending ) const; - virtual void paintCell(QPainter *p, const QColorGroup &cg, + int compare( TQListViewItem *i, int col, bool ascending ) const; + virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment); protected: #if QT_VERSION >= 300 - void paintBranches(QPainter *p,const QColorGroup & cg,int w,int y,int h); + void paintBranches(TQPainter *p,const TQColorGroup & cg,int w,int y,int h); #else #endif virtual void stateChange(bool); @@ -78,7 +78,7 @@ class KOTodoViewItem : public QCheckListItem private: Todo *mTodo; KOTodoView *mTodoView; - QDateTime mEffectiveDueDate; + TQDateTime mEffectiveDueDate; int compareDueDates( const KOTodoViewItem *b ) const; uint m_odd : 1; -- cgit v1.2.1