summaryrefslogtreecommitdiff
path: root/core/pim/datebook/datebook.h
Unidiff
Diffstat (limited to 'core/pim/datebook/datebook.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/datebook.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/datebook/datebook.h b/core/pim/datebook/datebook.h
index 5216770..3f57d4a 100644
--- a/core/pim/datebook/datebook.h
+++ b/core/pim/datebook/datebook.h
@@ -67,49 +67,50 @@ public slots:
67 void reload(); 67 void reload();
68 68
69private slots: 69private slots:
70 void fileNew(); 70 void fileNew();
71 void slotNewEntry(const QDateTime &start, const QDateTime &end, const QString &str, const QString &location=0); 71 void slotNewEntry(const QDateTime &start, const QDateTime &end, const QString &str, const QString &location=0);
72 void slotSettings(); 72 void slotSettings();
73 void slotToday();// view today 73 void slotToday();// view today
74 void changeClock( bool newClock ); 74 void changeClock( bool newClock );
75 void changeWeek( bool newDay ); 75 void changeWeek( bool newDay );
76 void appMessage(const QCString& msg, const QByteArray& data); 76 void appMessage(const QCString& msg, const QByteArray& data);
77 // handle key events in the day view... 77 // handle key events in the day view...
78 void slotNewEventFromKey( const QString &str ); 78 void slotNewEventFromKey( const QString &str );
79 void slotFind(); 79 void slotFind();
80 void slotDoFind( const QString &, const QDate &, bool, bool, int ); 80 void slotDoFind( const QString &, const QDate &, bool, bool, int );
81 81
82 void viewDefault(const QDate &d); 82 void viewDefault(const QDate &d);
83 83
84 void viewDay(); 84 void viewDay();
85 void viewWeek(); 85 void viewWeek();
86 void viewWeekLst(); 86 void viewWeekLst();
87 void viewMonth(); 87 void viewMonth();
88 88
89 void showDay( int y, int m, int d ); 89 void showDay( int y, int m, int d );
90 90
91 void editEvent( const Event &e ); 91 void insertEvent( const Event &e );
92 void editEvent( const Event &e );
92 void duplicateEvent( const Event &e ); 93 void duplicateEvent( const Event &e );
93 void removeEvent( const Event &e ); 94 void removeEvent( const Event &e );
94 95
95 void receive( const QCString &msg, const QByteArray &data ); 96 void receive( const QCString &msg, const QByteArray &data );
96 void setDocument( const QString & ); 97 void setDocument( const QString & );
97 void beamEvent( const Event &e ); 98 void beamEvent( const Event &e );
98 void beamDone( Ir *ir ); 99 void beamDone( Ir *ir );
99 100
100private: 101private:
101 void addEvent( const Event &e ); 102 void addEvent( const Event &e );
102 void initDay(); 103 void initDay();
103 void initWeek(); 104 void initWeek();
104 void initWeekLst(); 105 void initWeekLst();
105 void initMonth(); 106 void initMonth();
106 void loadSettings(); 107 void loadSettings();
107 void saveSettings(); 108 void saveSettings();
108 109
109private: 110private:
110 DateBookDBHack *db; 111 DateBookDBHack *db;
111 QWidgetStack *views; 112 QWidgetStack *views;
112 DateBookDay *dayView; 113 DateBookDay *dayView;
113 DateBookWeek *weekView; 114 DateBookWeek *weekView;
114 DateBookMonth *monthView; 115 DateBookMonth *monthView;
115 DateBookWeekLst *weekLstView; 116 DateBookWeekLst *weekLstView;