messagingapp/msgui/unifiedviewer/inc/univiewerattachmentwidget.h
changeset 43 35b64624a9e7
parent 34 84197e66a4bd
child 70 a15d9966050f
equal deleted inserted replaced
34:84197e66a4bd 43:35b64624a9e7
    25 class HbTextItem;
    25 class HbTextItem;
    26 class HbIconItem;
    26 class HbIconItem;
    27 class HbIcon;
    27 class HbIcon;
    28 class HbFrameItem;
    28 class HbFrameItem;
    29 class UniViewerUtils;
    29 class UniViewerUtils;
       
    30 class UniMessageInfo;
    30 
    31 
    31 /**
    32 /**
    32  * @class UniViewerAttachmentWidget
    33  * @class UniViewerAttachmentWidget
    33  * @brief Widget for displaying attachment media objects.
    34  * @brief Widget for displaying attachment media objects.
    34  */
    35  */
    48      */
    49      */
    49     virtual ~UniViewerAttachmentWidget();
    50     virtual ~UniViewerAttachmentWidget();
    50 
    51 
    51     /**
    52     /**
    52      * Populates the widget contents.
    53      * Populates the widget contents.
    53      * @param mimeType Mime type of media.
    54      * @param info Object information.
    54      * @param filePath File path of media.
       
    55      */
    55      */
    56     void populate(const QString &mimeType, const QString &filePath);
    56     void populate(UniMessageInfo *info);
    57 
    57 
    58 signals:
    58 signals:
    59 
    59 
    60     /**
    60     /**
    61      * Signal emitted when widget is clicked.
    61      * Signal emitted when widget is clicked.