Diffstat (limited to 'korganizer/kowhatsnextview.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/kowhatsnextview.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/korganizer/kowhatsnextview.h b/korganizer/kowhatsnextview.h index 93574ef..49fc448 100644 --- a/korganizer/kowhatsnextview.h +++ b/korganizer/kowhatsnextview.h | |||
@@ -19,22 +19,28 @@ | |||
19 | #ifndef KOWHATSNEXTVIEW_H | 19 | #ifndef KOWHATSNEXTVIEW_H |
20 | #define KOWHATSNEXTVIEW_H | 20 | #define KOWHATSNEXTVIEW_H |
21 | 21 | ||
22 | #include <qtextbrowser.h> | 22 | #include <q3textbrowser.h> |
23 | #include <qtimer.h> | 23 | #include <qtimer.h> |
24 | //Added by qt3to4: | ||
25 | #include <QShowEvent> | ||
26 | #include <QHideEvent> | ||
27 | #include <QLabel> | ||
28 | #include <Q3ValueList> | ||
29 | #include <Q3PtrList> | ||
24 | 30 | ||
25 | #include <korganizer/baseview.h> | 31 | #include <korganizer/baseview.h> |
26 | 32 | ||
27 | class QListView; | 33 | class Q3ListView; |
28 | class QLabel; | 34 | class QLabel; |
29 | 35 | ||
30 | class KOEventViewerDialog; | 36 | class KOEventViewerDialog; |
31 | 37 | ||
32 | #include <qpainter.h> | 38 | #include <qpainter.h> |
33 | #include <qwidget.h> | 39 | #include <qwidget.h> |
34 | class WhatsNextTextBrowser : public QTextBrowser { | 40 | class WhatsNextTextBrowser : public Q3TextBrowser { |
35 | Q_OBJECT | 41 | Q_OBJECT |
36 | public: | 42 | public: |
37 | WhatsNextTextBrowser(QWidget *parent) : QTextBrowser(parent) {}; | 43 | WhatsNextTextBrowser(QWidget *parent) : Q3TextBrowser(parent) {}; |
38 | 44 | ||
39 | void setSource(const QString &); | 45 | void setSource(const QString &); |
40 | void printMe(); | 46 | void printMe(); |
@@ -58,7 +64,7 @@ class KOWhatsNextView : public KOrg::BaseView | |||
58 | virtual int maxDatesHint(); | 64 | virtual int maxDatesHint(); |
59 | virtual int currentDateCount(); | 65 | virtual int currentDateCount(); |
60 | void setEventViewer(KOEventViewerDialog* v ); | 66 | void setEventViewer(KOEventViewerDialog* v ); |
61 | virtual QPtrList<Incidence> selectedIncidences(); | 67 | virtual Q3PtrList<Incidence> selectedIncidences(); |
62 | void clearList(); | 68 | void clearList(); |
63 | DateList selectedDates() | 69 | DateList selectedDates() |
64 | {DateList q; | 70 | {DateList q; |
@@ -70,7 +76,7 @@ class KOWhatsNextView : public KOrg::BaseView | |||
70 | virtual void updateView(); | 76 | virtual void updateView(); |
71 | void printMe(); | 77 | void printMe(); |
72 | virtual void showDates(const QDate &start, const QDate &end); | 78 | virtual void showDates(const QDate &start, const QDate &end); |
73 | virtual void showEvents(QPtrList<Event> eventList); | 79 | virtual void showEvents(Q3PtrList<Event> eventList); |
74 | void updateConfig(); | 80 | void updateConfig(); |
75 | void changeEventDisplay(Event *, int); | 81 | void changeEventDisplay(Event *, int); |
76 | 82 | ||
@@ -96,7 +102,7 @@ class KOWhatsNextView : public KOrg::BaseView | |||
96 | // QLabel *mDateLabel; | 102 | // QLabel *mDateLabel; |
97 | KOEventViewerDialog *mEventViewer; | 103 | KOEventViewerDialog *mEventViewer; |
98 | 104 | ||
99 | QValueList<Incidence *> mTodos; | 105 | Q3ValueList<Incidence *> mTodos; |
100 | }; | 106 | }; |
101 | 107 | ||
102 | #endif | 108 | #endif |