tsdevicedialog/tsdevicedialogplugin/inc/tsdevicedialogcontainer.h
changeset 116 305818acdca4
parent 112 dbfb5e38438b
equal deleted inserted replaced
112:dbfb5e38438b 116:305818acdca4
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description: 
    14 * Description:
    15 *
    15 *
    16 */
    16 */
    17 #ifndef TSDEVICEDIALOGCONTAINER_H
    17 #ifndef TSDEVICEDIALOGCONTAINER_H
    18 #define TSDEVICEDIALOGCONTAINER_H
    18 #define TSDEVICEDIALOGCONTAINER_H
    19 
    19 
    26 
    26 
    27 QTM_USE_NAMESPACE
    27 QTM_USE_NAMESPACE
    28 
    28 
    29 class QAbstractListModel;
    29 class QAbstractListModel;
    30 
    30 
    31 class TsDeviceDialogContainer : public QObject, 
    31 class TsDeviceDialogContainer : public QObject,
    32                                 public HbDeviceDialogInterface
    32                                 public HbDeviceDialogInterface
    33 {
    33 {
    34 Q_OBJECT
    34     Q_OBJECT
    35 public:
    35 public:
    36     explicit TsDeviceDialogContainer(QAbstractListModel *model, 
    36     explicit TsDeviceDialogContainer(QAbstractListModel *model,
    37                                      QObject *parent = 0);
    37                                      QObject *parent = 0);
    38     ~TsDeviceDialogContainer();
    38     ~TsDeviceDialogContainer();
    39 
    39 
    40 public:
    40 public:
    41     virtual bool setDeviceDialogParameters(const QVariantMap &parameters);
    41     virtual bool setDeviceDialogParameters(const QVariantMap &parameters);
    52 
    52 
    53 private slots:
    53 private slots:
    54     void notifyDialogClosed();
    54     void notifyDialogClosed();
    55     void switchViewOnModelChange();
    55     void switchViewOnModelChange();
    56     void handleDismissRequest();
    56     void handleDismissRequest();
    57     
    57 
    58 private:
    58 private:
    59     TsDocumentLoader mLoader;
    59     TsDocumentLoader mLoader;
    60     QValueSpacePublisher mVisibilityPublisher;
    60     QValueSpacePublisher mVisibilityPublisher;
    61     QValueSpaceSubscriber mDismissRequestSubscriber;
    61     QValueSpaceSubscriber mDismissRequestSubscriber;
    62 
    62