author | zautrix <zautrix> | 2004-10-10 21:45:08 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-10 21:45:08 (UTC) |
commit | 80ecf83fe91a61792576b5538891953cd19c4fec (patch) (side-by-side diff) | |
tree | 4cf30a58546834f7ed5889b37f352703ad603826 /korganizer/kowhatsnextview.h | |
parent | ad409bf71ce6c3733f9e5ae4e4aa38765329d7d8 (diff) | |
download | kdepimpi-80ecf83fe91a61792576b5538891953cd19c4fec.zip kdepimpi-80ecf83fe91a61792576b5538891953cd19c4fec.tar.gz kdepimpi-80ecf83fe91a61792576b5538891953cd19c4fec.tar.bz2 |
added timer in WN view
Diffstat (limited to 'korganizer/kowhatsnextview.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/kowhatsnextview.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/korganizer/kowhatsnextview.h b/korganizer/kowhatsnextview.h index fff769a..1118bdd 100644 --- a/korganizer/kowhatsnextview.h +++ b/korganizer/kowhatsnextview.h @@ -19,8 +19,9 @@ #ifndef KOWHATSNEXTVIEW_H #define KOWHATSNEXTVIEW_H #include <qtextbrowser.h> +#include <qtimer.h> #include <korganizer/baseview.h> class QListView; @@ -71,16 +72,20 @@ class KOWhatsNextView : public KOrg::BaseView protected: void appendEvent(Incidence *, bool reply=false, bool notRed = true); bool appendTodo(Incidence *, QString ind = "", bool isSub = false ); void appendDay( int i, QDate date ); - QDate mEventDate; + QDate mEventDate; + virtual void showEvent ( QShowEvent * ); + virtual void hideEvent ( QHideEvent * ); private slots: void showIncidence(const QString &); + void restartTimer(); + private: //void createEventViewer(); - + QTimer* mTimer; QTextBrowser *mView; QString mText; // QLabel *mDateLabel; KOEventViewerDialog *mEventViewer; |