emailuis/nmailui/inc/nmeditorheader.h
changeset 74 6c59112cfd31
parent 62 a8c646b56683
equal deleted inserted replaced
69:4e54af54a4a1 74:6c59112cfd31
    59     void repositHeader(const QTransform &transform);
    59     void repositHeader(const QTransform &transform);
    60 
    60 
    61 private:
    61 private:
    62     void loadWidgets();
    62     void loadWidgets();
    63     void createConnections();
    63     void createConnections();
       
    64     void adjustIndentForEditFields();
    64 
    65 
    65 signals:
    66 signals:
    66     void headerHeightChanged(int);
    67     void headerHeightChanged(int);
    67     void recipientFieldsHaveContent(bool recipientFieldsHaveContent);
    68     void recipientFieldsHaveContent(bool recipientFieldsHaveContent);
    68     void attachmentLongPressed(NmId attachmentPartId, QPointF point);
    69     void attachmentLongPressed(NmId attachmentPartId, QPointF point);
    72 	void sendDelayedHeaderHeightChanged();
    73 	void sendDelayedHeaderHeightChanged();
    73     void sendHeaderHeightChanged();
    74     void sendHeaderHeightChanged();
    74     void editorContentChanged();
    75     void editorContentChanged();
    75     void attachmentActivated(int arrayIndex);
    76     void attachmentActivated(int arrayIndex);
    76     void attachmentLongPressed(int arrayIndex, QPointF point);
    77     void attachmentLongPressed(int arrayIndex, QPointF point);
       
    78     void toFieldLayoutReady();
    77 
    79 
    78 private:
    80 private:
    79     NmApplication &mApplication;
    81     NmApplication &mApplication;
    80     HbDocumentLoader* mDocumentLoader;  // Not owned
    82     HbDocumentLoader* mDocumentLoader;  // Not owned
    81     qreal mHeaderHeight;
    83     qreal mHeaderHeight;
    96     HbWidget *mCcWidget;           // Not owned
    98     HbWidget *mCcWidget;           // Not owned
    97     NmRecipientField *mBccField;   // Not owned
    99     NmRecipientField *mBccField;   // Not owned
    98     HbWidget *mBccWidget;          // Not owned
   100     HbWidget *mBccWidget;          // Not owned
    99     HbWidget *mSubjectWidget;      // Not owned
   101     HbWidget *mSubjectWidget;      // Not owned
   100     QGraphicsLinearLayout *mSubjectLayout; // Not owned
   102     QGraphicsLinearLayout *mSubjectLayout; // Not owned
       
   103     HbLabel *mSubjectLabel;        // Not owned
   101     bool mCcBccFieldVisible;
   104     bool mCcBccFieldVisible;
   102 };
   105 };
   103 
   106 
   104 #endif /* NMEDITORHEADER_H_ */
   107 #endif /* NMEDITORHEADER_H_ */