emailuis/nmailui/inc/nmeditorheader.h
changeset 20 ecc8def7944a
parent 18 578830873419
child 27 9ba4404ef423
--- a/emailuis/nmailui/inc/nmeditorheader.h	Fri Apr 16 14:51:52 2010 +0300
+++ b/emailuis/nmailui/inc/nmeditorheader.h	Mon May 03 12:23:15 2010 +0300
@@ -57,6 +57,8 @@
     void setGroupBoxCollapsed( bool collapsed );
     void addAttachment(const QString &fileName, const QString &fileSize, const NmId &nmid);
     void removeAttachment(const QString &fileName);
+    void removeAttachment(const NmId &nmid);
+    void launchAttachment(const NmId &nmid);
     void setAttachmentParameters(
         const QString &fileName,
         const NmId &msgPartId,
@@ -72,13 +74,14 @@
 signals:
     void headerHeightChanged(int);
     void recipientFieldsHaveContent(bool recipientFieldsHaveContent);
-    void attachmentRemoved(const NmId);
+    void attachmentLongPressed(NmId attachmentPartId, QPointF point);
 
 public slots:
     void sendHeaderHeightChanged();
     void editorContentChanged();
     void groupBoxExpandCollapse();
-    void attachmentSelected(int, QPointF);
+    void attachmentActivated(int arrayIndex);
+    void attachmentLongPressed(int arrayIndex, QPointF point);
 
 private:
     HbDocumentLoader* mDocumentLoader;  // Not owned