summaryrefslogtreecommitdiff
path: root/library
Unidiff
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/datebookmonth.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/datebookmonth.h b/library/datebookmonth.h
index cb436a8..46b02c8 100644
--- a/library/datebookmonth.h
+++ b/library/datebookmonth.h
@@ -141,30 +141,32 @@ private:
141 int selYear, selMonth, selDay; 141 int selYear, selMonth, selDay;
142 QValueList<Event> monthsEvents; // not used anymore... 142 QValueList<Event> monthsEvents; // not used anymore...
143 DateBookDB *db; 143 DateBookDB *db;
144 DateBookMonthTablePrivate *d; 144 DateBookMonthTablePrivate *d;
145}; 145};
146 146
147class DateBookMonthPrivate; 147class DateBookMonthPrivate;
148class DateBookMonth : public QVBox 148class DateBookMonth : public QVBox
149{ 149{
150 Q_OBJECT 150 Q_OBJECT
151 151
152public: 152public:
153 /* ac = Auto Close */
153 DateBookMonth( QWidget *parent = 0, const char *name = 0, bool ac = FALSE, 154 DateBookMonth( QWidget *parent = 0, const char *name = 0, bool ac = FALSE,
154 DateBookDB *data = 0 ); 155 DateBookDB *data = 0 );
155 ~DateBookMonth(); 156 ~DateBookMonth();
156 QDate selectedDate() const; 157 QDate selectedDate() const;
157 158
158signals: 159signals:
160 /* ### FIXME add a signal with QDate -zecke */
159 void dateClicked( int year, int month, int day ); 161 void dateClicked( int year, int month, int day );
160 162
161public slots: 163public slots:
162 void setDate( int y, int m ); 164 void setDate( int y, int m );
163 void setDate( int y, int m, int d ); 165 void setDate( int y, int m, int d );
164 void setDate( QDate ); 166 void setDate( QDate );
165 void redraw(); 167 void redraw();
166 void slotWeekChange( bool ); 168 void slotWeekChange( bool );
167 169
168protected slots: 170protected slots:
169 virtual void keyPressEvent(QKeyEvent *e); 171 virtual void keyPressEvent(QKeyEvent *e);
170 172