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/timelineitem.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/timelineitem.h')
-rw-r--r-- | korganizer/timelineitem.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/korganizer/timelineitem.h b/korganizer/timelineitem.h index c4f35af24..2ff3b2e06 100644 --- a/korganizer/timelineitem.h +++ b/korganizer/timelineitem.h @@ -23,8 +23,8 @@ #include <kdgantt/KDGanttViewTaskItem.h> #undef protected -#include <qmap.h> -#include <qvaluelist.h> +#include <tqmap.h> +#include <tqvaluelist.h> class KDGanttView; class KDCanvasPolygon; @@ -42,17 +42,17 @@ class TimelineSubItem; class TimelineItem : public KDGanttViewTaskItem { public: - TimelineItem( const QString &label, KDGanttView* parent ); + TimelineItem( const TQString &label, KDGanttView* parent ); void insertIncidence( KCal::Incidence *incidence, - const QDateTime &start = QDateTime(), - const QDateTime &end = QDateTime() ); + const TQDateTime &start = TQDateTime(), + const TQDateTime &end = TQDateTime() ); void removeIncidence( KCal::Incidence *incidence ); void moveItems( KCal::Incidence* incidence, int delta, int duration ); private: - QMap<KCal::Incidence*, QValueList<TimelineSubItem*> > mItemMap; + TQMap<KCal::Incidence*, TQValueList<TimelineSubItem*> > mItemMap; }; class TimelineSubItem : public KDGanttViewTaskItem @@ -63,15 +63,15 @@ class TimelineSubItem : public KDGanttViewTaskItem KCal::Incidence* incidence() const { return mIncidence; } - QDateTime originalStart() const { return mStart; } - void setOriginalStart( const QDateTime &dt ) { mStart = dt; } + TQDateTime originalStart() const { return mStart; } + void setOriginalStart( const TQDateTime &dt ) { mStart = dt; } private: void showItem( bool show = true, int coordY = 0 ); private: KCal::Incidence *mIncidence; - QDateTime mStart; + TQDateTime mStart; KDCanvasPolygon *mLeft, *mRight; int mMarkerWidth; }; |