author | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
commit | b9aad1f15dc600e4dbe4c62d3fcced6363188ba3 (patch) (side-by-side diff) | |
tree | 2c3d4004fb21c72cba65793859f9bcd8ffd3a49c /korganizer/kotimespanview.h | |
download | kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.zip kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.gz kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.bz2 |
Initial revision
-rw-r--r-- | korganizer/kotimespanview.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/korganizer/kotimespanview.h b/korganizer/kotimespanview.h new file mode 100644 index 0000000..c682ed8 --- a/dev/null +++ b/korganizer/kotimespanview.h @@ -0,0 +1,41 @@ +#ifndef KOTIMESPANVIEW_H +#define KOTIMESPANVIEW_H + +#include "koeventview.h" + +class KConfig; +class TimeSpanView; + +class KOTimeSpanView : public KOEventView +{ + Q_OBJECT + public: + KOTimeSpanView(Calendar *calendar, QWidget *parent = 0, + const char *name = 0); + ~KOTimeSpanView(); + + virtual int maxDatesHint(); + virtual int currentDateCount(); + virtual QPtrList<Incidence> selectedIncidences(); + DateList selectedDates() + {DateList q; + return q;} + + void readSettings(); + void readSettings( KConfig * ); + void writeSettings( KConfig * ); + + public slots: + virtual void updateView(); + virtual void showDates(const QDate &start, const QDate &end); + virtual void showEvents(QPtrList<Event> eventList); + + void changeEventDisplay(Event *, int); + + private: + void insertItems( const QDate &start, const QDate & end ); + + TimeSpanView *mTimeSpanView; +}; + +#endif |