Diffstat (limited to 'core/pim/datebook/datebook.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/datebook.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/pim/datebook/datebook.h b/core/pim/datebook/datebook.h index fcdbfec..2ffcdbe 100644 --- a/core/pim/datebook/datebook.h +++ b/core/pim/datebook/datebook.h | |||
@@ -31,66 +31,70 @@ class DateBookWeek; | |||
31 | class DateBookWeekLst; | 31 | class DateBookWeekLst; |
32 | class DateBookMonth; | 32 | class DateBookMonth; |
33 | class Event; | 33 | class Event; |
34 | class QDate; | 34 | class QDate; |
35 | class Ir; | 35 | class Ir; |
36 | 36 | ||
37 | class DateBook : public QMainWindow | 37 | class DateBook : public QMainWindow |
38 | { | 38 | { |
39 | Q_OBJECT | 39 | Q_OBJECT |
40 | 40 | ||
41 | public: | 41 | public: |
42 | DateBook( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); | 42 | DateBook( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); |
43 | ~DateBook(); | 43 | ~DateBook(); |
44 | 44 | ||
45 | signals: | 45 | signals: |
46 | void newEvent(); | 46 | void newEvent(); |
47 | void signalNotFound(); | 47 | void signalNotFound(); |
48 | void signalWrapAround(); | 48 | void signalWrapAround(); |
49 | 49 | ||
50 | protected: | 50 | protected: |
51 | QDate currentDate(); | 51 | QDate currentDate(); |
52 | void timerEvent( QTimerEvent *e ); | 52 | void timerEvent( QTimerEvent *e ); |
53 | void closeEvent( QCloseEvent *e ); | 53 | void closeEvent( QCloseEvent *e ); |
54 | 54 | ||
55 | void view(int v, const QDate &d); | ||
56 | |||
55 | public slots: | 57 | public slots: |
56 | void flush(); | 58 | void flush(); |
57 | void reload(); | 59 | void reload(); |
58 | 60 | ||
59 | private slots: | 61 | private slots: |
60 | void fileNew(); | 62 | void fileNew(); |
61 | void slotNewEntry(const QDateTime &start, const QDateTime &end, const QString &str); | 63 | void slotNewEntry(const QDateTime &start, const QDateTime &end, const QString &str); |
62 | void slotSettings(); | 64 | void slotSettings(); |
63 | void newDefaultView(QAction *a); | 65 | void newDefaultView(QAction *a); |
64 | void slotToday();// view today | 66 | void slotToday();// view today |
65 | void changeClock( bool newClock ); | 67 | void changeClock( bool newClock ); |
66 | void changeWeek( bool newDay ); | 68 | void changeWeek( bool newDay ); |
67 | void appMessage(const QCString& msg, const QByteArray& data); | 69 | void appMessage(const QCString& msg, const QByteArray& data); |
68 | // handle key events in the day view... | 70 | // handle key events in the day view... |
69 | void slotNewEventFromKey( const QString &str ); | 71 | void slotNewEventFromKey( const QString &str ); |
70 | void slotFind(); | 72 | void slotFind(); |
71 | void slotDoFind( const QString &, const QDate &, bool, bool, int ); | 73 | void slotDoFind( const QString &, const QDate &, bool, bool, int ); |
72 | 74 | ||
75 | void viewDefault(const QDate &d); | ||
76 | |||
73 | void viewDay(); | 77 | void viewDay(); |
74 | void viewWeek(); | 78 | void viewWeek(); |
75 | void viewWeekLst(); | 79 | void viewWeekLst(); |
76 | void viewMonth(); | 80 | void viewMonth(); |
77 | 81 | ||
78 | void showDay( int y, int m, int d ); | 82 | void showDay( int y, int m, int d ); |
79 | 83 | ||
80 | void editEvent( const Event &e ); | 84 | void editEvent( const Event &e ); |
81 | void removeEvent( const Event &e ); | 85 | void removeEvent( const Event &e ); |
82 | 86 | ||
83 | void receive( const QCString &msg, const QByteArray &data ); | 87 | void receive( const QCString &msg, const QByteArray &data ); |
84 | void setDocument( const QString & ); | 88 | void setDocument( const QString & ); |
85 | void beamEvent( const Event &e ); | 89 | void beamEvent( const Event &e ); |
86 | void beamDone( Ir *ir ); | 90 | void beamDone( Ir *ir ); |
87 | 91 | ||
88 | private: | 92 | private: |
89 | void addEvent( const Event &e ); | 93 | void addEvent( const Event &e ); |
90 | void initDay(); | 94 | void initDay(); |
91 | void initWeek(); | 95 | void initWeek(); |
92 | void initWeekLst(); | 96 | void initWeekLst(); |
93 | void initMonth(); | 97 | void initMonth(); |
94 | void loadSettings(); | 98 | void loadSettings(); |
95 | void saveSettings(); | 99 | void saveSettings(); |
96 | 100 | ||