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/kotimelineview.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/kotimelineview.h')
-rw-r--r-- | korganizer/kotimelineview.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/korganizer/kotimelineview.h b/korganizer/kotimelineview.h index c1bfb89ee..5c3ec6a7c 100644 --- a/korganizer/kotimelineview.h +++ b/korganizer/kotimelineview.h @@ -26,7 +26,7 @@ #include <koeventview.h> #include <kdgantt/KDGanttView.h> -#include <qmap.h> +#include <tqmap.h> class KDGanttViewItem; @@ -45,25 +45,25 @@ class KOTimelineView : public KOEventView { Q_OBJECT public: - KOTimelineView(Calendar *calendar, QWidget *parent = 0, + KOTimelineView(Calendar *calendar, TQWidget *parent = 0, const char *name = 0); ~KOTimelineView(); virtual KCal::ListBase<KCal::Incidence> selectedIncidences(); virtual KCal::DateList selectedDates(); virtual int currentDateCount(); - virtual void showDates(const QDate&, const QDate&); + virtual void showDates(const TQDate&, const TQDate&); virtual void showIncidences(const KCal::ListBase<KCal::Incidence>&); virtual void updateView(); virtual void changeIncidenceDisplay(KCal::Incidence* incidence, int mode); virtual int maxDatesHint() { return 0; } - virtual bool eventDurationHint(QDateTime &startDt, QDateTime &endDt, bool &allDay); + virtual bool eventDurationHint(TQDateTime &startDt, TQDateTime &endDt, bool &allDay); private: KOrg::TimelineItem* calendarItemForIncidence( KCal::Incidence* incidence ); void insertIncidence( KCal::Incidence* incidence ); - void insertIncidence( KCal::Incidence* incidence, const QDate &day ); + void insertIncidence( KCal::Incidence* incidence, const TQDate &day ); void removeIncidence( KCal::Incidence* incidence ); private slots: @@ -72,14 +72,14 @@ class KOTimelineView : public KOEventView void itemRightClicked( KDGanttViewItem *item ); void itemMoved( KDGanttViewItem *item ); void overscale( KDGanttView::Scale scale ); - void newEventWithHint( const QDateTime & ); + void newEventWithHint( const TQDateTime & ); private: KDGanttView* mGantt; - QMap<KCal::ResourceCalendar*, QMap<QString, KOrg::TimelineItem*> > mCalendarItemMap; + TQMap<KCal::ResourceCalendar*, TQMap<TQString, KOrg::TimelineItem*> > mCalendarItemMap; KOEventPopupMenu *mEventPopup; - QDate mStartDate, mEndDate; - QDateTime mHintDate; + TQDate mStartDate, mEndDate; + TQDateTime mHintDate; }; #endif |