summaryrefslogtreecommitdiff
path: root/core/pim/datebook/dateentryimpl.cpp
authorzecke <zecke>2002-06-27 12:42:37 (UTC)
committer zecke <zecke>2002-06-27 12:42:37 (UTC)
commit475c11d442a03d8e53b220923626c4bb7350831f (patch) (side-by-side diff)
tree10e7fdfc22b337dfd8f6947f09e7bd163e609f0f /core/pim/datebook/dateentryimpl.cpp
parente69c1daabcd8149f2ad61b2cbbf205128072b415 (diff)
downloadopie-475c11d442a03d8e53b220923626c4bb7350831f.zip
opie-475c11d442a03d8e53b220923626c4bb7350831f.tar.gz
opie-475c11d442a03d8e53b220923626c4bb7350831f.tar.bz2
Fix for bug 81. It's now like in todolist
If neither description nor note is inserted it'll be discarded
Diffstat (limited to 'core/pim/datebook/dateentryimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/dateentryimpl.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/core/pim/datebook/dateentryimpl.cpp b/core/pim/datebook/dateentryimpl.cpp
index dab3375..2cdda9d 100644
--- a/core/pim/datebook/dateentryimpl.cpp
+++ b/core/pim/datebook/dateentryimpl.cpp
@@ -94,5 +94,5 @@ bool DateEntry::eventFilter(QObject *obj, QEvent *ev )
}
}
-
+
return false;
}
@@ -187,5 +187,5 @@ void DateEntry::updateTimeEdit(bool s, bool e) {
strEnd.sprintf( "%02d:%02d", endTime.hour(), endTime.minute() );
}
-
+
if (s) comboStart->setText(strStart);
if (e) comboEnd->setText(strEnd);
@@ -212,5 +212,5 @@ void DateEntry::init()
connect( qApp, SIGNAL(weekChanged(bool)),
this, SLOT(slotChangeStartOfWeek(bool)) );
-
+
connect( editNote, SIGNAL(clicked()),
this, SLOT(slotEditNote()) );
@@ -247,5 +247,5 @@ void DateEntry::slotEditNote() {
s.sprintf("<B>%d/%d</B> ", startDate.day(), startDate.month());
NoteEntry noteDlg(s+comboDescription->currentText(), noteStr,
- this,0,TRUE);
+ this,0,TRUE);
#if defined(Q_WS_QWS) || defined(_WS_QWS_)
@@ -422,5 +422,5 @@ Event DateEntry::event()
startDate = tmp;
}
-
+
// This is now done in the changed slots
// startTime = parseTime( comboStart->text(), ampm );
@@ -571,2 +571,3 @@ void DateEntry::slotChangeClock( bool whichClock )
setDates( QDateTime( startDate, startTime ), QDateTime( endDate, endTime ) );
}
+