summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-04-10 17:01:21 (UTC)
committer harlekin <harlekin>2002-04-10 17:01:21 (UTC)
commit5504a71f3e65673a3eea23051d0043f2b483276b (patch) (side-by-side diff)
tree83ef0b4af63a1ebe665e03eae1422f3d6956c208
parentbbc11689a4f22d825a75b456811f3c8f0031b37d (diff)
downloadopie-5504a71f3e65673a3eea23051d0043f2b483276b.zip
opie-5504a71f3e65673a3eea23051d0043f2b483276b.tar.gz
opie-5504a71f3e65673a3eea23051d0043f2b483276b.tar.bz2
paperbag, no it is
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/today.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index 3d17379..6dac6d9 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -470,25 +470,25 @@ DateBookEvent::DateBookEvent(const EffectiveEvent &ev,
if ( (ev).event().hasAlarm() ) {
msg += " <b>[with alarm]</b>";
}
// include location or not
if (SHOW_LOCATION == 1) {
msg += "<BR><i>" + (ev).location() + "</i>";
}
if ( (TimeString::timeString(QTime((ev).event().start().time()) ) == "00:00") && (TimeString::timeString(QTime((ev).event().end().time()) ) == "23:59") ) {
msg += "<br>All day";
} else {
// start time of event
- msg += "<br>" + ampmTime(QTime((ev).event().start().time()) );
+ msg += "<br>" + ampmTime(QTime((ev).event().start().time()) )
// end time of event
+ "<b> - </b>" + ampmTime(QTime((ev).event().end().time()) );
}
// include possible note or not
if (SHOW_NOTES == 1) {
msg += "<br> <i>note</i>:" +((ev).notes()).mid(0, MAX_CHAR_CLIP);
}
}
setText(msg);
connect(this, SIGNAL(clicked()), this, SLOT(editMe()));
setAlignment( int( QLabel::WordBreak | QLabel::AlignLeft ) );
@@ -537,25 +537,25 @@ DateBookEventLater::DateBookEventLater(const EffectiveEvent &ev,
if ( (ev).event().hasAlarm() ) {
msg += " <b>[with alarm]</b>";
}
// include location or not
if (SHOW_LOCATION == 1) {
msg += "<BR><i>" + (ev).location() + "</i>";
}
if ( (TimeString::timeString(QTime((ev).event().start().time()) ) == "00:00") && (TimeString::timeString(QTime((ev).event().end().time()) ) == "23:59") ) {
msg += "<br>All day";
} else {
// start time of event
- msg += "<br>" + ampmTime(QTime((ev).event().start().time()) );
+ msg += "<br>" + ampmTime(QTime((ev).event().start().time()) )
// end time of event
+ "<b> - </b>" + ampmTime(QTime((ev).event().end().time()) );
}
// include possible note or not
if (SHOW_NOTES == 1) {
msg += "<br> <i>note</i>:" +((ev).notes()).mid(0, MAX_CHAR_CLIP);
}
}
setText(msg);
connect(this, SIGNAL(clicked()), this, SLOT(editMe()));
setAlignment( int( QLabel::WordBreak | QLabel::AlignLeft ) );