summaryrefslogtreecommitdiff
path: root/core/pim/datebook/noteentryimpl.cpp
authorhakan <hakan>2002-05-07 15:27:34 (UTC)
committer hakan <hakan>2002-05-07 15:27:34 (UTC)
commitad2c6f2e1b5504989ceed297d9ee8c49129ad1fb (patch) (side-by-side diff)
tree60d75877abb05a322b265d8b50621f3f7f75c9d1 /core/pim/datebook/noteentryimpl.cpp
parent8ba0398d93f0e70ea2de254a4090d8bd02f593cd (diff)
downloadopie-ad2c6f2e1b5504989ceed297d9ee8c49129ad1fb.zip
opie-ad2c6f2e1b5504989ceed297d9ee8c49129ad1fb.tar.gz
opie-ad2c6f2e1b5504989ceed297d9ee8c49129ad1fb.tar.bz2
Added separate note editor dialog (currently only a QMultiLineEdit)
Diffstat (limited to 'core/pim/datebook/noteentryimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/noteentryimpl.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/core/pim/datebook/noteentryimpl.cpp b/core/pim/datebook/noteentryimpl.cpp
new file mode 100644
index 0000000..9e1abb9
--- a/dev/null
+++ b/core/pim/datebook/noteentryimpl.cpp
@@ -0,0 +1,16 @@
+#include "noteentryimpl.h"
+#include "qstring.h"
+#include "qmultilinedit.h"
+#include "qlabel.h"
+
+NoteEntry::NoteEntry(const QString &title, const QString &noteStr,
+ QWidget* parent, const char* name, bool modal,
+ WFlags fl) :
+ NoteEntryBase(parent, name, modal, fl) {
+
+
+ eventLabel->setText(title);
+ note->setText(noteStr);
+ int l=note->length();
+ note->setCursorPosition(l,l,false);
+}