messagingapp/msgui/unifiededitor/inc/msgunieditormonitor.h
changeset 44 36f374c67aa8
parent 34 84197e66a4bd
equal deleted inserted replaced
43:35b64624a9e7 44:36f374c67aa8
   103     /**
   103     /**
   104      * slot to handle content change in any editor component
   104      * slot to handle content change in any editor component
   105      */
   105      */
   106     void handleContentChange();
   106     void handleContentChange();
   107 
   107 
       
   108 signals:
       
   109     /**
       
   110      * Emitted when composed message can be sent.
       
   111      * @param enable true if send is possible else false.
       
   112      */
       
   113     void enableSend(bool enable);
       
   114 
   108 private:
   115 private:
   109     /**
   116     /**
   110      * setter method to initialize content
   117      * setter method to initialize content
   111      */
   118      */
   112     void init();
   119     void init();
   155      * check for other MMS content criteria
   162      * check for other MMS content criteria
   156      * @return true if MMS criteria is met
   163      * @return true if MMS criteria is met
   157      */
   164      */
   158     bool otherMMSCriteriaMet();
   165     bool otherMMSCriteriaMet();
   159 
   166 
       
   167     /**
       
   168      * Checks if composed message can be sent and emits a signal.
       
   169      */
       
   170     void updateSend();
       
   171 
   160 private:
   172 private:
   161 
   173 
   162     /**
   174     /**
   163      * Flag to skip showing the type change popup.
   175      * Flag to skip showing the type change popup.
   164      * Note need to be skipped when an mms is opened from draft.
   176      * Note need to be skipped when an mms is opened from draft.