messagingapp/msgui/unifiededitor/inc/msgunieditorsubject.h
changeset 76 60a8a215b0ec
parent 56 f42d9a78f435
equal deleted inserted replaced
73:ecf6a73a9186 76:60a8a215b0ec
    71     /**
    71     /**
    72      * To set focus on editable field.
    72      * To set focus on editable field.
    73      */
    73      */
    74     void setFocus();
    74     void setFocus();
    75 
    75 
    76 signals:
       
    77     /**
       
    78      * Emitted when subject/priority content is added or removed
       
    79      */
       
    80     void contentChanged();
       
    81     
       
    82 private slots:
    76 private slots:
    83     /**
    77     /**
    84      * called when contentsChanged signal is emitted by the line edit
    78      * called when contentsChanged signal is emitted by the line edit
    85      */
    79      */
    86     void onContentsChanged(const QString&);
    80     void onContentsChanged(const QString&);
   117     /**
   111     /**
   118      * Holds the previous buffer inside subject field
   112      * Holds the previous buffer inside subject field
   119      */
   113      */
   120     QString mPrevBuffer;
   114     QString mPrevBuffer;
   121     
   115     
   122 #ifdef MSGUI_UNIT_TEST
   116 #ifdef UNIEDITOR_UNIT_TEST
   123     friend class TestMsgUnifiesEditorSubject;
   117     friend class TestMsgUnifiesEditorSubject;
   124 #endif
   118 #endif
   125     };
   119     };
   126 
   120 
   127 #endif //MSG_UNIFIED_EDITOR_SUBJECT_H
   121 #endif //MSG_UNIFIED_EDITOR_SUBJECT_H