messagingapp/msgui/unifiedviewer/inc/univieweraddresscontainer.h
changeset 37 518b245aa84c
parent 25 84d9eb65b26f
equal deleted inserted replaced
25:84d9eb65b26f 37:518b245aa84c
    24 // USER INCLUDES
    24 // USER INCLUDES
    25 #include "convergedmessageaddress.h"
    25 #include "convergedmessageaddress.h"
    26 
    26 
    27 // FORWARD DECLARATIONS
    27 // FORWARD DECLARATIONS
    28 class QGraphicsLinearLayout;
    28 class QGraphicsLinearLayout;
    29 class HbIconItem;
       
    30 class UniViewerAddressWidget;
       
    31 
    29 
    32 /**
    30 /**
    33  * Container widget for all the address widgets
    31  * Container widget for all the address widgets
    34  */
    32  */
    35 
    33 
    66      * @param ccRecipients list of Cc recipients
    64      * @param ccRecipients list of Cc recipients
    67      */
    65      */
    68     void setCcField(ConvergedMessageAddressList ccRecipients);
    66     void setCcField(ConvergedMessageAddressList ccRecipients);
    69 
    67 
    70     /**
    68     /**
       
    69      * Sets Bcc recipients
       
    70      * @param bccRecipients list of Bcc recipients
       
    71      */
       
    72     void setBccField(ConvergedMessageAddressList bccRecipients);
       
    73 
       
    74     /**
    71      * Clears the content of the widget
    75      * Clears the content of the widget
    72      */
    76      */
    73     void clearContent();
    77     void clearContent();
    74 
    78 
       
    79 signals:
    75     /**
    80     /**
    76      * Inserts divider into layout.
    81      * this signal is emitted when send message is triggered form UniViewerAddressWidget
    77      */
    82      */
    78     void insertDivider();
    83     void sendMessage(const QString& phoneNumber,const QString& alias);
    79 
    84 
    80 private:
    85 private:
    81 
    86 
    82     /**
    87     /**
    83      * Main layout reference.
    88      * Main Layout
    84      * Own
       
    85      */
    89      */
    86     QGraphicsLinearLayout *mMainLayout;
    90     QGraphicsLinearLayout* mMainLayout;
    87 
       
    88     /**
       
    89      * From widget reference.
       
    90      * Own
       
    91      */
       
    92     UniViewerAddressWidget *mFromWidget;
       
    93 
       
    94     /**
       
    95      * To widget reference.
       
    96      * Own
       
    97      */
       
    98     UniViewerAddressWidget *mToWidget;
       
    99 
       
   100     /**
       
   101      * Cc widget reference.
       
   102      * Own
       
   103      */
       
   104     UniViewerAddressWidget *mCcWidget;
       
   105 
       
   106     /**
       
   107      * Divider icon item.
       
   108      * Own
       
   109      */
       
   110     HbIconItem *mDivider;
       
   111 };
    91 };
   112 
    92 
   113 #endif // UNI_VIEWER_ADDRESS_CONTAINER_H
    93 #endif // UNI_VIEWER_ADDRESS_CONTAINER_H
   114 // EOF
    94 // EOF