summaryrefslogtreecommitdiffabout
path: root/korganizer/kojournalview.h
Unidiff
Diffstat (limited to 'korganizer/kojournalview.h') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/kojournalview.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/korganizer/kojournalview.h b/korganizer/kojournalview.h
index aabf11c..0437d95 100644
--- a/korganizer/kojournalview.h
+++ b/korganizer/kojournalview.h
@@ -24,53 +24,54 @@
24#define _KOJOURNALVIEW_H 24#define _KOJOURNALVIEW_H
25 25
26#include <korganizer/baseview.h> 26#include <korganizer/baseview.h>
27#include <qlayout.h> 27#include <qlayout.h>
28 28
29class JournalEntry; 29class JournalEntry;
30 30
31/** 31/**
32 * This class provides a journal view. 32 * This class provides a journal view.
33 33
34 * @short View for Journal components. 34 * @short View for Journal components.
35 * @author Cornelius Schumacher <schumacher@kde.org> 35 * @author Cornelius Schumacher <schumacher@kde.org>
36 * @see KOBaseView 36 * @see KOBaseView
37 */ 37 */
38class KOJournalView : public KOrg::BaseView 38class KOJournalView : public KOrg::BaseView
39{ 39{
40 Q_OBJECT 40 Q_OBJECT
41 public: 41 public:
42 KOJournalView(Calendar *calendar, QWidget *parent = 0, 42 KOJournalView(Calendar *calendar, QWidget *parent = 0,
43 const char *name = 0); 43 const char *name = 0);
44 ~KOJournalView(); 44 ~KOJournalView();
45 45
46 virtual int currentDateCount(); 46 virtual int currentDateCount();
47 void clearList(); 47 void clearList();
48 virtual QPtrList<Incidence> selectedIncidences(); 48 virtual QPtrList<Incidence> selectedIncidences();
49 DateList selectedDates() 49 DateList selectedDates()
50 {DateList q; 50 {DateList q;
51 return q;}; 51 return q;};
52 signals: 52 signals:
53 void deleteJournal(Journal *); 53 void deleteJournal(Journal *);
54 public slots: 54 public slots:
55 void showOnly ( Journal* ); 55 void showOnly ( Journal* );
56 void newJournal(); 56 void newJournal();
57 void updateView(); 57 void updateView();
58 void flushView(); 58 void flushView();
59 void updateConfig(); 59 void updateConfig();
60 void showDates( const QDate &start, const QDate &end ); 60 void showDates( const QDate &start, const QDate &end );
61 void showEvents(QPtrList<Event> eventList); 61 void showEvents(QPtrList<Event> eventList);
62 62
63 void changeEventDisplay(Event *, int); 63 void changeEventDisplay(Event *, int);
64 64
65 private: 65 private:
66 void showList(QPtrList<Journal> jl); 66 void showList(QPtrList<Journal> jl);
67 Calendar *mCalendar; 67 Calendar *mCalendar;
68 JournalEntry* getNewEntry(); 68 JournalEntry* getNewEntry();
69 QPtrList<JournalEntry> jEntries; 69 QPtrList<JournalEntry> jEntries;
70 void keyPressEvent ( QKeyEvent * ) ; 70 void keyPressEvent ( QKeyEvent * ) ;
71 QBoxLayout *mTopLayout; 71 QBoxLayout *mTopLayout;
72 QWidget *parWid;
72 QDate mDate; 73 QDate mDate;
73 74
74}; 75};
75 76
76#endif 77#endif