diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/kotodoviewitem.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/kotodoviewitem.h')
-rw-r--r-- | korganizer/kotodoviewitem.h | 18 |
1 files changed, 9 insertions, 9 deletions
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 <qmap.h> -#include <qlistview.h> -#include <qpalette.h> -#include <qdatetime.h> +#include <tqmap.h> +#include <tqlistview.h> +#include <tqpalette.h> +#include <tqdatetime.h> 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; |