-rw-r--r-- | korganizer/kojournalview.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/korganizer/kojournalview.h b/korganizer/kojournalview.h index 1c0be82..445f940 100644 --- a/korganizer/kojournalview.h +++ b/korganizer/kojournalview.h | |||
@@ -22,46 +22,47 @@ | |||
22 | */ | 22 | */ |
23 | #ifndef _KOJOURNALVIEW_H | 23 | #ifndef _KOJOURNALVIEW_H |
24 | #define _KOJOURNALVIEW_H | 24 | #define _KOJOURNALVIEW_H |
25 | 25 | ||
26 | #include <korganizer/baseview.h> | 26 | #include <korganizer/baseview.h> |
27 | 27 | ||
28 | class JournalEntry; | 28 | class JournalEntry; |
29 | 29 | ||
30 | /** | 30 | /** |
31 | * This class provides a journal view. | 31 | * This class provides a journal view. |
32 | 32 | ||
33 | * @short View for Journal components. | 33 | * @short View for Journal components. |
34 | * @author Cornelius Schumacher <schumacher@kde.org> | 34 | * @author Cornelius Schumacher <schumacher@kde.org> |
35 | * @see KOBaseView | 35 | * @see KOBaseView |
36 | */ | 36 | */ |
37 | class KOJournalView : public KOrg::BaseView | 37 | class KOJournalView : public KOrg::BaseView |
38 | { | 38 | { |
39 | Q_OBJECT | 39 | Q_OBJECT |
40 | public: | 40 | public: |
41 | KOJournalView(Calendar *calendar, QWidget *parent = 0, | 41 | KOJournalView(Calendar *calendar, QWidget *parent = 0, |
42 | const char *name = 0); | 42 | const char *name = 0); |
43 | ~KOJournalView(); | 43 | ~KOJournalView(); |
44 | 44 | ||
45 | virtual int currentDateCount(); | 45 | virtual int currentDateCount(); |
46 | void clearList(); | ||
46 | virtual QPtrList<Incidence> selectedIncidences(); | 47 | virtual QPtrList<Incidence> selectedIncidences(); |
47 | DateList selectedDates() | 48 | DateList selectedDates() |
48 | {DateList q; | 49 | {DateList q; |
49 | return q;}; | 50 | return q;}; |
50 | signals: | 51 | signals: |
51 | void deleteJournal(Journal *); | 52 | void deleteJournal(Journal *); |
52 | public slots: | 53 | public slots: |
53 | void updateView(); | 54 | void updateView(); |
54 | void flushView(); | 55 | void flushView(); |
55 | void updateConfig(); | 56 | void updateConfig(); |
56 | void showDates( const QDate &start, const QDate &end ); | 57 | void showDates( const QDate &start, const QDate &end ); |
57 | void showEvents(QPtrList<Event> eventList); | 58 | void showEvents(QPtrList<Event> eventList); |
58 | 59 | ||
59 | void changeEventDisplay(Event *, int); | 60 | void changeEventDisplay(Event *, int); |
60 | 61 | ||
61 | private: | 62 | private: |
62 | JournalEntry *mEntry; | 63 | JournalEntry *mEntry; |
63 | void keyPressEvent ( QKeyEvent * ) ; | 64 | void keyPressEvent ( QKeyEvent * ) ; |
64 | 65 | ||
65 | }; | 66 | }; |
66 | 67 | ||
67 | #endif | 68 | #endif |