author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /korganizer/kotimespanview.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
-rw-r--r-- | korganizer/kotimespanview.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/korganizer/kotimespanview.h b/korganizer/kotimespanview.h index c682ed8..c3e4b41 100644 --- a/korganizer/kotimespanview.h +++ b/korganizer/kotimespanview.h | |||
@@ -1,41 +1,43 @@ | |||
1 | #ifndef KOTIMESPANVIEW_H | 1 | #ifndef KOTIMESPANVIEW_H |
2 | #define KOTIMESPANVIEW_H | 2 | #define KOTIMESPANVIEW_H |
3 | 3 | ||
4 | #include "koeventview.h" | 4 | #include "koeventview.h" |
5 | //Added by qt3to4: | ||
6 | #include <Q3PtrList> | ||
5 | 7 | ||
6 | class KConfig; | 8 | class KConfig; |
7 | class TimeSpanView; | 9 | class TimeSpanView; |
8 | 10 | ||
9 | class KOTimeSpanView : public KOEventView | 11 | class KOTimeSpanView : public KOEventView |
10 | { | 12 | { |
11 | Q_OBJECT | 13 | Q_OBJECT |
12 | public: | 14 | public: |
13 | KOTimeSpanView(Calendar *calendar, QWidget *parent = 0, | 15 | KOTimeSpanView(Calendar *calendar, QWidget *parent = 0, |
14 | const char *name = 0); | 16 | const char *name = 0); |
15 | ~KOTimeSpanView(); | 17 | ~KOTimeSpanView(); |
16 | 18 | ||
17 | virtual int maxDatesHint(); | 19 | virtual int maxDatesHint(); |
18 | virtual int currentDateCount(); | 20 | virtual int currentDateCount(); |
19 | virtual QPtrList<Incidence> selectedIncidences(); | 21 | virtual Q3PtrList<Incidence> selectedIncidences(); |
20 | DateList selectedDates() | 22 | DateList selectedDates() |
21 | {DateList q; | 23 | {DateList q; |
22 | return q;} | 24 | return q;} |
23 | 25 | ||
24 | void readSettings(); | 26 | void readSettings(); |
25 | void readSettings( KConfig * ); | 27 | void readSettings( KConfig * ); |
26 | void writeSettings( KConfig * ); | 28 | void writeSettings( KConfig * ); |
27 | 29 | ||
28 | public slots: | 30 | public slots: |
29 | virtual void updateView(); | 31 | virtual void updateView(); |
30 | virtual void showDates(const QDate &start, const QDate &end); | 32 | virtual void showDates(const QDate &start, const QDate &end); |
31 | virtual void showEvents(QPtrList<Event> eventList); | 33 | virtual void showEvents(Q3PtrList<Event> eventList); |
32 | 34 | ||
33 | void changeEventDisplay(Event *, int); | 35 | void changeEventDisplay(Event *, int); |
34 | 36 | ||
35 | private: | 37 | private: |
36 | void insertItems( const QDate &start, const QDate & end ); | 38 | void insertItems( const QDate &start, const QDate & end ); |
37 | 39 | ||
38 | TimeSpanView *mTimeSpanView; | 40 | TimeSpanView *mTimeSpanView; |
39 | }; | 41 | }; |
40 | 42 | ||
41 | #endif | 43 | #endif |