summaryrefslogtreecommitdiff
path: root/core/pim/datebook/noteentryimpl.cpp
Side-by-side diff
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);
+}