--- a/emailuis/nmailui/inc/nmeditorcontent.h Wed Aug 18 09:37:47 2010 +0300
+++ b/emailuis/nmailui/inc/nmeditorcontent.h Thu Sep 02 20:15:00 2010 +0300
@@ -44,8 +44,9 @@
virtual ~NmEditorContent();
- void setMessageData(const NmMessage &originalMessage,
- NmUiEditorStartMode &editorStartMode);
+ void setBodyContent(NmUiEditorStartMode editorStartMode,
+ const NmMessage *originalMessage,
+ const QString *signature);
NmEditorTextEdit* editor() const;
@@ -64,13 +65,10 @@
void setEditorContentHeight();
void setEditorContentWidth();
void ensureCursorVisibility();
-
-private:
- enum MessageBodyType { NmPlainText, NmHTMLText };
+ void repositHeader(const QPointF &scrollPosition);
private:
NmEditorHeader *mHeader; // Not owned
- MessageBodyType mMessageBodyType;
NmEditorTextEdit *mEditorWidget; // Not owned
NmBaseViewScrollArea *mScrollArea; // Not owned
HbWidget *mScrollAreaContents; // Not owned