summaryrefslogtreecommitdiff
path: root/core/pim/todo/todotable.h
authorzecke <zecke>2002-04-18 20:43:35 (UTC)
committer zecke <zecke>2002-04-18 20:43:35 (UTC)
commit877e3d4899013687a0a16caefadabf86703bcf27 (patch) (side-by-side diff)
treeb8df1964ea9ea4dc1a1cbb9cab8a2ff84560a11f /core/pim/todo/todotable.h
parent56c20411484700350362b5041e3c9db030084caf (diff)
downloadopie-877e3d4899013687a0a16caefadabf86703bcf27.zip
opie-877e3d4899013687a0a16caefadabf86703bcf27.tar.gz
opie-877e3d4899013687a0a16caefadabf86703bcf27.tar.bz2
on day change the deadline gets changed
I use QDate and a Timer for that. Does anyone know a better way?
Diffstat (limited to 'core/pim/todo/todotable.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/todotable.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/pim/todo/todotable.h b/core/pim/todo/todotable.h
index 6e371e8..458e07a 100644
--- a/core/pim/todo/todotable.h
+++ b/core/pim/todo/todotable.h
@@ -167,6 +167,7 @@ private slots:
bool backwards, int category );
void slotShowMenu();
void rowHeightChanged( int row );
+ void slotCheckDay(); // check the day
private:
friend class TodoWindow;
@@ -176,6 +177,8 @@ private:
bool showComp;
QString showCat;
QTimer *menuTimer;
+ QDate mDay;
+ QTimer *mDayTimer; // see if the day changed
bool enablePainting;
Categories mCat;
int currFindRow;