summaryrefslogtreecommitdiffabout
path: root/korganizer/kotimespanview.h
Unidiff
Diffstat (limited to 'korganizer/kotimespanview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kotimespanview.h41
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 @@
1#ifndef KOTIMESPANVIEW_H
2#define KOTIMESPANVIEW_H
3
4#include "koeventview.h"
5
6class KConfig;
7class TimeSpanView;
8
9class KOTimeSpanView : public KOEventView
10{
11 Q_OBJECT
12 public:
13 KOTimeSpanView(Calendar *calendar, QWidget *parent = 0,
14 const char *name = 0);
15 ~KOTimeSpanView();
16
17 virtual int maxDatesHint();
18 virtual int currentDateCount();
19 virtual QPtrList<Incidence> selectedIncidences();
20 DateList selectedDates()
21 {DateList q;
22 return q;}
23
24 void readSettings();
25 void readSettings( KConfig * );
26 void writeSettings( KConfig * );
27
28 public slots:
29 virtual void updateView();
30 virtual void showDates(const QDate &start, const QDate &end);
31 virtual void showEvents(QPtrList<Event> eventList);
32
33 void changeEventDisplay(Event *, int);
34
35 private:
36 void insertItems( const QDate &start, const QDate & end );
37
38 TimeSpanView *mTimeSpanView;
39};
40
41#endif