summaryrefslogtreecommitdiffstats
path: root/korganizer/kotimelineview.h
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/kotimelineview.h')
-rw-r--r--korganizer/kotimelineview.h18
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