author | zautrix <zautrix> | 2005-07-05 07:37:53 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-05 07:37:53 (UTC) |
commit | 28ca4c37fb0e131b2978584992840b3fdca21d3e (patch) (side-by-side diff) | |
tree | fb4f7e51c0995b71e2a26a7300747b6b1b3acb23 /korganizer/koagendaview.h | |
parent | 5992ea9025ebddde8be72322c90aac8edeaf4d1c (diff) | |
download | kdepimpi-28ca4c37fb0e131b2978584992840b3fdca21d3e.zip kdepimpi-28ca4c37fb0e131b2978584992840b3fdca21d3e.tar.gz kdepimpi-28ca4c37fb0e131b2978584992840b3fdca21d3e.tar.bz2 |
fixesss
-rw-r--r-- | korganizer/koagendaview.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/korganizer/koagendaview.h b/korganizer/koagendaview.h index a1cf308..effd7a3 100644 --- a/korganizer/koagendaview.h +++ b/korganizer/koagendaview.h @@ -207,12 +207,13 @@ class KOAgendaView : public KOEventView { void setContentsPos(int y); void scrollOneHourUp(); void scrollOneHourDown(); void addToCalSlot(Incidence *, Incidence *); void slotShowDateView( int, int ); + void fillAgenda(); signals: void showDateView( int, QDate ); void newTodoSignal( QDateTime ,bool ); void toggleExpand(); void selectWeekNum( int ); @@ -225,23 +226,23 @@ class KOAgendaView : public KOEventView { bool mBlockUpdating; int mUpcomingWidth; /** Fill agenda beginning with date startDate */ void fillAgenda(const QDate &startDate); void resizeEvent( QResizeEvent* e ); /** Fill agenda using the current set value for the start date */ - void fillAgenda(); /** Create labels for the selected dates. */ void createDayLabels(); /** Set the masks on the agenda widgets indicating, which days are holidays. */ void setHolidayMasks(); protected slots: + void slotIdleTimeout(); void categoryChanged( Incidence * ); void slotDaylabelClicked( int ); /** Update event belonging to agenda item */ void updateEventDates(KOAgendaItem *item, int mode = -1); //void updateMovedTodo(); @@ -251,12 +252,14 @@ class KOAgendaView : public KOEventView { /** Updates data for selected timespan */ void newTimeSpanSelected(int gxStart, int gyStart, int gxEnd, int gyEnd); /** Updates data for selected timespan for all day event*/ void newTimeSpanSelectedAllDay(int gxStart, int gyStart, int gxEnd, int gyEnd); private: + QTimer* mIdleTimer; + QDateTime mIdleStart; // view widgets QFrame *mDayLabels; QHBox *mDayLabelsFrame; QBoxLayout *mLayoutDayLabels; QFrame *mAllDayFrame; KOAgenda *mAllDayAgenda; |