summaryrefslogtreecommitdiff
path: root/core/pim/today/today.cpp
authorharlekin <harlekin>2002-02-21 16:16:13 (UTC)
committer harlekin <harlekin>2002-02-21 16:16:13 (UTC)
commit4c965fa187f642cb3db4cd32d70a68cfa8c41022 (patch) (unidiff)
treef1f65a4b0b332b838fef9f0fda95c92dfc93247e /core/pim/today/today.cpp
parent17e96f64d6b66fac5f0e206492149d461e2ad900 (diff)
downloadopie-4c965fa187f642cb3db4cd32d70a68cfa8c41022.zip
opie-4c965fa187f642cb3db4cd32d70a68cfa8c41022.tar.gz
opie-4c965fa187f642cb3db4cd32d70a68cfa8c41022.tar.bz2
added scrollbars to dates and todo
Diffstat (limited to 'core/pim/today/today.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/today.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index bed3a74..9e5c27e 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -150,7 +150,6 @@ void Today::startConfig()
150} 150}
151 151
152 152
153
154/* 153/*
155 * Get all events that are in the datebook xml file for today 154 * Get all events that are in the datebook xml file for today
156 */ 155 */
@@ -176,11 +175,9 @@ void Today::getDates()
176 175
177 if ( count <= MAX_LINES_MEET ) 176 if ( count <= MAX_LINES_MEET )
178 { 177 {
179 //only get events past current time (start or end??)
180 //cout << time.toString() << endl; 178 //cout << time.toString() << endl;
181 //cout << TimeString::dateString((*it).event().end()) << endl; 179 //cout << TimeString::dateString((*it).event().end()) << endl;
182 // still some bug in here, 1 h off 180
183
184 // decide if to get all day or only later appointments 181 // decide if to get all day or only later appointments
185 if (!ONLY_LATER) 182 if (!ONLY_LATER)
186 { 183 {
@@ -195,6 +192,7 @@ void Today::getDates()
195 msg+= "<BR>" + (*it).location(); 192 msg+= "<BR>" + (*it).location();
196 } 193 }
197 msg += "<BR>" 194 msg += "<BR>"
195
198 // start time of event 196 // start time of event
199 + TimeString::timeString(QTime((*it).event().start().time()) ) 197 + TimeString::timeString(QTime((*it).event().start().time()) )
200 // end time of event 198 // end time of event