diff options
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; }; |