summaryrefslogtreecommitdiffabout
path: root/korganizer/kowhatsnextview.h
authorzautrix <zautrix>2004-10-10 21:45:08 (UTC)
committer zautrix <zautrix>2004-10-10 21:45:08 (UTC)
commit80ecf83fe91a61792576b5538891953cd19c4fec (patch) (unidiff)
tree4cf30a58546834f7ed5889b37f352703ad603826 /korganizer/kowhatsnextview.h
parentad409bf71ce6c3733f9e5ae4e4aa38765329d7d8 (diff)
downloadkdepimpi-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.h9
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
@@ -20,6 +20,7 @@
20#define KOWHATSNEXTVIEW_H 20#define KOWHATSNEXTVIEW_H
21 21
22#include <qtextbrowser.h> 22#include <qtextbrowser.h>
23#include <qtimer.h>
23 24
24#include <korganizer/baseview.h> 25#include <korganizer/baseview.h>
25 26
@@ -72,14 +73,18 @@ class KOWhatsNextView : public KOrg::BaseView
72 void appendEvent(Incidence *, bool reply=false, bool notRed = true); 73 void appendEvent(Incidence *, bool reply=false, bool notRed = true);
73 bool appendTodo(Incidence *, QString ind = "", bool isSub = false ); 74 bool appendTodo(Incidence *, QString ind = "", bool isSub = false );
74 void appendDay( int i, QDate date ); 75 void appendDay( int i, QDate date );
75 QDate mEventDate; 76 QDate mEventDate;
77 virtual void showEvent ( QShowEvent * );
78 virtual void hideEvent ( QHideEvent * );
76 79
77 private slots: 80 private slots:
78 void showIncidence(const QString &); 81 void showIncidence(const QString &);
82 void restartTimer();
83
79 84
80 private: 85 private:
81 //void createEventViewer(); 86 //void createEventViewer();
82 87 QTimer* mTimer;
83 QTextBrowser *mView; 88 QTextBrowser *mView;
84 QString mText; 89 QString mText;
85 // QLabel *mDateLabel; 90 // QLabel *mDateLabel;