summaryrefslogtreecommitdiffabout
path: root/korganizer/kowhatsnextview.h
Side-by-side diff
Diffstat (limited to 'korganizer/kowhatsnextview.h') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/kowhatsnextview.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/korganizer/kowhatsnextview.h b/korganizer/kowhatsnextview.h
index fff769a..1118bdd 100644
--- a/korganizer/kowhatsnextview.h
+++ b/korganizer/kowhatsnextview.h
@@ -20,6 +20,7 @@
#define KOWHATSNEXTVIEW_H
#include <qtextbrowser.h>
+#include <qtimer.h>
#include <korganizer/baseview.h>
@@ -73,13 +74,17 @@ class KOWhatsNextView : public KOrg::BaseView
bool appendTodo(Incidence *, QString ind = "", bool isSub = false );
void appendDay( int i, QDate date );
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;