equal
deleted
inserted
replaced
60 |
60 |
61 void setHtml(const QString&); |
61 void setHtml(const QString&); |
62 |
62 |
63 public slots: |
63 public slots: |
64 void setEditorContentHeight(); |
64 void setEditorContentHeight(); |
|
65 void setEditorContentWidth(); |
65 void ensureCursorVisibility(); |
66 void ensureCursorVisibility(); |
66 |
67 |
67 private: |
68 private: |
68 enum MessageBodyType { NmPlainText, NmHTMLText }; |
69 enum MessageBodyType { NmPlainText, NmHTMLText }; |
69 |
70 |
73 NmEditorTextEdit *mEditorWidget; // Not owned |
74 NmEditorTextEdit *mEditorWidget; // Not owned |
74 NmBaseViewScrollArea *mScrollArea; // Not owned |
75 NmBaseViewScrollArea *mScrollArea; // Not owned |
75 HbWidget *mScrollAreaContents; // Not owned |
76 HbWidget *mScrollAreaContents; // Not owned |
76 QPointF mScrollPosition; |
77 QPointF mScrollPosition; |
77 NmApplication &mApplication; |
78 NmApplication &mApplication; |
|
79 bool mNeedForWidthAdjustment; |
78 }; |
80 }; |
79 |
81 |
80 #endif /* NMEDITORCONTENT_H_ */ |
82 #endif /* NMEDITORCONTENT_H_ */ |