messagingapp/msgui/unifiededitor/inc/msgunieditoraddress.h
changeset 34 84197e66a4bd
parent 31 ebfee66fde93
child 47 5b14749788d7
child 70 a15d9966050f
equal deleted inserted replaced
31:ebfee66fde93 34:84197e66a4bd
    13  *
    13  *
    14  * Description:Header for entering To field (phone number, contact name).
    14  * Description:Header for entering To field (phone number, contact name).
    15  *
    15  *
    16  */
    16  */
    17 
    17 
    18 #ifndef UNIFIED_EDITOR_ADDRESS_H
    18 #ifndef MSG_UNIFIED_EDITOR_ADDRESS_H
    19 #define UNIFIED_EDITOR_ADDRESS_H
    19 #define MSG_UNIFIED_EDITOR_ADDRESS_H
    20 
    20 
    21 #include <msgunifiededitorbasewidget.h>
    21 #include <msgunieditorbasewidget.h>
    22 
    22 
    23 #include <convergedmessageaddress.h>
    23 #include <convergedmessageaddress.h>
    24 #include <QMap>
    24 #include <QMap>
    25 
    25 
    26 class HbTextItem;
    26 class HbTextItem;
   130 
   130 
   131     /**
   131     /**
   132      * Handle invalid contact dialog useraction
   132      * Handle invalid contact dialog useraction
   133      */
   133      */
   134     void handleInvalidContactDialog(HbAction* act);
   134     void handleInvalidContactDialog(HbAction* act);
       
   135     
       
   136     /**
       
   137      * Unblocks signals for pbk buttion after some delay.
       
   138      */
       
   139     void unblockSignals();
   135 
   140 
   136 private:
   141 private:
   137     /**
   142     /**
   138      * Remove edit-field's user-deleted addresses from Map
   143      * Remove edit-field's user-deleted addresses from Map
   139      */
   144      */
   151 
   156 
   152     /**
   157     /**
   153      * Reset the addresslist to previous list
   158      * Reset the addresslist to previous list
   154      */
   159      */
   155     void resetToPrevious();
   160     void resetToPrevious();
       
   161     
       
   162     /**
       
   163      * checks if the passed sting is a valid address or not.
       
   164      * @param addr
       
   165      * @retunr true/false based on valid/invalid.
       
   166      */
       
   167     bool checkValidAddress(const QString& addr);
   156 
   168 
   157 private:
   169 private:
   158 
   170 
   159     /**
   171     /**
   160      * Push button to launch phone book.
   172      * Push button to launch phone book.
   200      * limit e.g. multiple selection from contact selection dialog
   212      * limit e.g. multiple selection from contact selection dialog
   201      */
   213      */
   202     int mExceedsMaxMmsRecipientsBy;
   214     int mExceedsMaxMmsRecipientsBy;
   203     };
   215     };
   204 
   216 
   205 #endif //UNIFIED_EDITOR_ADDRESS_H
   217 #endif //MSG_UNIFIED_EDITOR_ADDRESS_H