emailuis/nmailui/inc/nmeditorcontent.h
changeset 62 a8c646b56683
parent 51 d845db10c0d4
child 68 83cc6bae1de8
--- a/emailuis/nmailui/inc/nmeditorcontent.h	Thu Aug 05 21:09:09 2010 +0300
+++ b/emailuis/nmailui/inc/nmeditorcontent.h	Mon Aug 23 23:32:31 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