79 void attachmentLongPressed(NmId attachmentPartId, QPointF point); |
79 void attachmentLongPressed(NmId attachmentPartId, QPointF point); |
80 void invalidAddressQuery(HbAction* action); |
80 void invalidAddressQuery(HbAction* action); |
81 void okToExitQuery(HbAction* action); |
81 void okToExitQuery(HbAction* action); |
82 void sendProgressDialogCancelled(); |
82 void sendProgressDialogCancelled(); |
83 |
83 |
|
84 protected: |
|
85 void resizeEvent(QGraphicsSceneResizeEvent *event); |
|
86 |
84 private slots: |
87 private slots: |
85 void messageCreated(int result); |
88 void messageCreated(int result); |
86 void oneAttachmentAdded(const QString &fileName, |
89 void oneAttachmentAdded(const QString &fileName, |
87 const NmId &msgPartId, |
90 const NmId &msgPartId, |
88 int result); |
91 int result); |
116 QString addressListToString(const QList<NmAddress*> &list) const; |
119 QString addressListToString(const QList<NmAddress*> &list) const; |
117 QString addressListToString(const QList<NmAddress> &list) const; |
120 QString addressListToString(const QList<NmAddress> &list) const; |
118 void enableToolBarAttach(bool enable); |
121 void enableToolBarAttach(bool enable); |
119 void showChrome(bool show); |
122 void showChrome(bool show); |
120 |
123 |
|
124 signals: |
|
125 void sizeChanged(); |
|
126 |
121 private: // Data |
127 private: // Data |
122 NmApplication &mApplication; |
128 NmApplication &mApplication; |
123 NmUiEngine &mUiEngine; |
129 NmUiEngine &mUiEngine; |
124 NmAttachmentManager &mAttaManager; |
130 NmAttachmentManager &mAttaManager; |
125 HbDocumentLoader *mDocumentLoader; // Owned |
131 HbDocumentLoader *mDocumentLoader; // Owned |
126 QObjectList mWidgetList; // Owned |
132 QObjectList mWidgetList; // Owned |
127 NmEditorTextEdit *mEditWidget; // Not owned |
|
128 NmEditorHeader *mHeaderWidget; // Not owned |
133 NmEditorHeader *mHeaderWidget; // Not owned |
129 NmMessage *mMessage; // Owned |
134 NmMessage *mMessage; // Owned |
130 NmEditorContent *mContentWidget; // Owned |
135 NmEditorContent *mContent; // Not owned |
131 HbMenu *mPrioritySubMenu; // Owned |
136 HbMenu *mPrioritySubMenu; // Owned |
132 HbMenu *mAttachmentListContextMenu; // Owned |
137 HbMenu *mAttachmentListContextMenu; // Owned |
133 NmId mSelectedAttachment; |
138 NmId mSelectedAttachment; |
134 HbVkbHost *mVkbHost; // Not owned |
139 HbVkbHost *mVkbHost; // Not owned |
135 QPointer<NmMessageCreationOperation> mMessageCreationOperation; // Not owned |
140 QPointer<NmMessageCreationOperation> mMessageCreationOperation; // Not owned |