Diffstat (limited to 'core/pim/datebook/datebookday.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/datebookday.h | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/core/pim/datebook/datebookday.h b/core/pim/datebook/datebookday.h index 2faf24e..961f60f 100644 --- a/core/pim/datebook/datebookday.h +++ b/core/pim/datebook/datebookday.h @@ -29,2 +29,5 @@ +#include "datebook.h" +#include <qlineedit.h> + class DateBookDayHeader; @@ -36,2 +39,18 @@ class QResizeEvent; +class DateBookDayViewQuickLineEdit : public QLineEdit +{ + Q_OBJECT +public: + DateBookDayViewQuickLineEdit(const QDateTime &start, const QDateTime &end,QWidget * parent, const char *name=0); +protected: + Event quickEvent; + int active; + void focusOutEvent( QFocusEvent *e ); +protected slots: + void slotReturnPressed(void); +signals: + void insertEvent(const Event &e); +}; + + class DateBookDayView : public QTable @@ -48,2 +67,3 @@ public slots: void moveDown(); + void slotDateChanged( int year, int month, int day ); @@ -53,3 +73,3 @@ signals: protected slots: - void slotChangeClock( bool ); + void slotChangeClock( bool ); protected: @@ -60,2 +80,3 @@ protected: void keyPressEvent( QKeyEvent *e ); + void contentsMouseReleaseEvent( QMouseEvent *e ); void initHeader(); @@ -63,2 +84,4 @@ private: bool ampm; + QDate currDate; + DateBookDayViewQuickLineEdit *quickLineEdit; }; |