summaryrefslogtreecommitdiff
path: root/library
authorzecke <zecke>2003-10-02 19:52:46 (UTC)
committer zecke <zecke>2003-10-02 19:52:46 (UTC)
commite4fc6c395dd0a7400ed2cf76b3148dd7f535c2ea (patch) (side-by-side diff)
tree8857daa299b5d900c10e772c01121299ba3b0dcf /library
parent0a9b6ef6ef6fd8d06d420fc25e8a67545815dc39 (diff)
downloadopie-e4fc6c395dd0a7400ed2cf76b3148dd7f535c2ea.zip
opie-e4fc6c395dd0a7400ed2cf76b3148dd7f535c2ea.tar.gz
opie-e4fc6c395dd0a7400ed2cf76b3148dd7f535c2ea.tar.bz2
Add coder comments and issue for ODP
Diffstat (limited to 'library') (more/less context) (show 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
@@ -129,54 +129,56 @@ private slots:
void dayClicked( int row, int col );
void dragDay( int row, int col );
private:
void setupTable();
void setupLabels();
void findDay( int day, int &row, int &col );
void getEvents();
void changeDaySelection( int row, int col );
int year, month, day;
int selYear, selMonth, selDay;
QValueList<Event> monthsEvents; // not used anymore...
DateBookDB *db;
DateBookMonthTablePrivate *d;
};
class DateBookMonthPrivate;
class DateBookMonth : public QVBox
{
Q_OBJECT
public:
+ /* ac = Auto Close */
DateBookMonth( QWidget *parent = 0, const char *name = 0, bool ac = FALSE,
DateBookDB *data = 0 );
~DateBookMonth();
QDate selectedDate() const;
signals:
+ /* ### FIXME add a signal with QDate -zecke */
void dateClicked( int year, int month, int day );
public slots:
void setDate( int y, int m );
void setDate( int y, int m, int d );
void setDate( QDate );
void redraw();
void slotWeekChange( bool );
protected slots:
virtual void keyPressEvent(QKeyEvent *e);
private slots:
void forwardDateClicked( int y, int m, int d ) { emit dateClicked( y, m, d ); }
void finalDate(int, int, int);
private:
DateBookMonthHeader *header;
DateBookMonthTable *table;
int year, month, day;
bool autoClose;
class DateBookMonthPrivate *d;
};