Diffstat (limited to 'korganizer/kowhatsnextview.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/kowhatsnextview.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/kowhatsnextview.h b/korganizer/kowhatsnextview.h index 1118bdd..9049268 100644 --- a/korganizer/kowhatsnextview.h +++ b/korganizer/kowhatsnextview.h | |||
@@ -49,48 +49,48 @@ class KOWhatsNextView : public KOrg::BaseView | |||
49 | Q_OBJECT | 49 | Q_OBJECT |
50 | public: | 50 | public: |
51 | KOWhatsNextView(Calendar *calendar, QWidget *parent = 0, | 51 | KOWhatsNextView(Calendar *calendar, QWidget *parent = 0, |
52 | const char *name = 0); | 52 | const char *name = 0); |
53 | ~KOWhatsNextView(); | 53 | ~KOWhatsNextView(); |
54 | 54 | ||
55 | virtual int maxDatesHint(); | 55 | virtual int maxDatesHint(); |
56 | virtual int currentDateCount(); | 56 | virtual int currentDateCount(); |
57 | void setEventViewer(KOEventViewerDialog* v ); | 57 | void setEventViewer(KOEventViewerDialog* v ); |
58 | virtual QPtrList<Incidence> selectedIncidences(); | 58 | virtual QPtrList<Incidence> selectedIncidences(); |
59 | DateList selectedDates() | 59 | DateList selectedDates() |
60 | {DateList q; | 60 | {DateList q; |
61 | return q;} | 61 | return q;} |
62 | virtual void printPreview(CalPrinter *calPrinter, | 62 | virtual void printPreview(CalPrinter *calPrinter, |
63 | const QDate &, const QDate &); | 63 | const QDate &, const QDate &); |
64 | 64 | ||
65 | public slots: | 65 | public slots: |
66 | virtual void updateView(); | 66 | virtual void updateView(); |
67 | virtual void showDates(const QDate &start, const QDate &end); | 67 | virtual void showDates(const QDate &start, const QDate &end); |
68 | virtual void showEvents(QPtrList<Event> eventList); | 68 | virtual void showEvents(QPtrList<Event> eventList); |
69 | void updateConfig(); | 69 | void updateConfig(); |
70 | void changeEventDisplay(Event *, int); | 70 | void changeEventDisplay(Event *, int); |
71 | 71 | ||
72 | protected: | 72 | protected: |
73 | void appendEvent(Incidence *, bool reply=false, bool notRed = true); | 73 | bool appendEvent(Incidence *, bool reply=false, bool notRed = true, bool appendTable = false); |
74 | bool appendTodo(Incidence *, QString ind = "", bool isSub = false ); | 74 | bool appendTodo(Incidence *, QString ind = "", bool isSub = false ); |
75 | void appendDay( int i, QDate date ); | 75 | void appendDay( int i, QDate date ); |
76 | QDate mEventDate; | 76 | QDate mEventDate; |
77 | virtual void showEvent ( QShowEvent * ); | 77 | virtual void showEvent ( QShowEvent * ); |
78 | virtual void hideEvent ( QHideEvent * ); | 78 | virtual void hideEvent ( QHideEvent * ); |
79 | 79 | ||
80 | private slots: | 80 | private slots: |
81 | void showIncidence(const QString &); | 81 | void showIncidence(const QString &); |
82 | void restartTimer(); | 82 | void restartTimer(); |
83 | 83 | ||
84 | 84 | ||
85 | private: | 85 | private: |
86 | //void createEventViewer(); | 86 | //void createEventViewer(); |
87 | QTimer* mTimer; | 87 | QTimer* mTimer; |
88 | QTextBrowser *mView; | 88 | QTextBrowser *mView; |
89 | QString mText; | 89 | QString mText; |
90 | // QLabel *mDateLabel; | 90 | // QLabel *mDateLabel; |
91 | KOEventViewerDialog *mEventViewer; | 91 | KOEventViewerDialog *mEventViewer; |
92 | 92 | ||
93 | QValueList<Incidence *> mTodos; | 93 | QValueList<Incidence *> mTodos; |
94 | }; | 94 | }; |
95 | 95 | ||
96 | #endif | 96 | #endif |