summaryrefslogtreecommitdiff
path: root/core/pim/datebook/datebook.h
Unidiff
Diffstat (limited to 'core/pim/datebook/datebook.h') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/datebook/datebook.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/pim/datebook/datebook.h b/core/pim/datebook/datebook.h
index 44627bb..fcdbfec 100644
--- a/core/pim/datebook/datebook.h
+++ b/core/pim/datebook/datebook.h
@@ -28,6 +28,7 @@ class QAction;
28class QWidgetStack; 28class QWidgetStack;
29class DateBookDay; 29class DateBookDay;
30class DateBookWeek; 30class DateBookWeek;
31class DateBookWeekLst;
31class DateBookMonth; 32class DateBookMonth;
32class Event; 33class Event;
33class QDate; 34class QDate;
@@ -57,7 +58,9 @@ public slots:
57 58
58private slots: 59private slots:
59 void fileNew(); 60 void fileNew();
61 void slotNewEntry(const QDateTime &start, const QDateTime &end, const QString &str);
60 void slotSettings(); 62 void slotSettings();
63 void newDefaultView(QAction *a);
61 void slotToday();// view today 64 void slotToday();// view today
62 void changeClock( bool newClock ); 65 void changeClock( bool newClock );
63 void changeWeek( bool newDay ); 66 void changeWeek( bool newDay );
@@ -69,6 +72,7 @@ private slots:
69 72
70 void viewDay(); 73 void viewDay();
71 void viewWeek(); 74 void viewWeek();
75 void viewWeekLst();
72 void viewMonth(); 76 void viewMonth();
73 77
74 void showDay( int y, int m, int d ); 78 void showDay( int y, int m, int d );
@@ -85,6 +89,7 @@ private:
85 void addEvent( const Event &e ); 89 void addEvent( const Event &e );
86 void initDay(); 90 void initDay();
87 void initWeek(); 91 void initWeek();
92 void initWeekLst();
88 void initMonth(); 93 void initMonth();
89 void loadSettings(); 94 void loadSettings();
90 void saveSettings(); 95 void saveSettings();
@@ -95,7 +100,8 @@ private:
95 DateBookDay *dayView; 100 DateBookDay *dayView;
96 DateBookWeek *weekView; 101 DateBookWeek *weekView;
97 DateBookMonth *monthView; 102 DateBookMonth *monthView;
98 QAction *dayAction, *weekAction, *monthAction; 103 DateBookWeekLst *weekLstView;
104 QAction *dayAction, *weekAction, *weekLstAction, *monthAction;
99 bool aPreset; // have everything set to alarm? 105 bool aPreset; // have everything set to alarm?
100 int presetTime; // the standard time for the alarm 106 int presetTime; // the standard time for the alarm
101 int startTime; 107 int startTime;