tsdevicedialog/tsdevicedialogplugin/inc/tsdevicedialogcontainer.h
changeset 112 dbfb5e38438b
parent 107 b34d53f6acdf
child 116 305818acdca4
equal deleted inserted replaced
107:b34d53f6acdf 112:dbfb5e38438b
    17 #ifndef TSDEVICEDIALOGCONTAINER_H
    17 #ifndef TSDEVICEDIALOGCONTAINER_H
    18 #define TSDEVICEDIALOGCONTAINER_H
    18 #define TSDEVICEDIALOGCONTAINER_H
    19 
    19 
    20 #include <QObject>
    20 #include <QObject>
    21 #include <HbDeviceDialogInterface>
    21 #include <HbDeviceDialogInterface>
    22 #include <qvaluespacepublisher.h>
    22 #include <QValueSpacePublisher>
       
    23 #include <QValueSpaceSubscriber>
    23 
    24 
    24 #include "tsdocumentloader.h"
    25 #include "tsdocumentloader.h"
    25 
    26 
    26 QTM_USE_NAMESPACE
    27 QTM_USE_NAMESPACE
    27 
    28 
    50     void changeOrientation(Qt::Orientation orientation);
    51     void changeOrientation(Qt::Orientation orientation);
    51 
    52 
    52 private slots:
    53 private slots:
    53     void notifyDialogClosed();
    54     void notifyDialogClosed();
    54     void switchViewOnModelChange();
    55     void switchViewOnModelChange();
       
    56     void handleDismissRequest();
    55     
    57     
    56 private:
    58 private:
    57     TsDocumentLoader mLoader;
    59     TsDocumentLoader mLoader;
    58     QValueSpacePublisher mVisibilityPublisher;
    60     QValueSpacePublisher mVisibilityPublisher;
       
    61     QValueSpaceSubscriber mDismissRequestSubscriber;
    59 
    62 
    60     Q_DISABLE_COPY(TsDeviceDialogContainer)
    63     Q_DISABLE_COPY(TsDeviceDialogContainer)
    61 };
    64 };
    62 
    65 
    63 #endif // TSDEVICEDIALOGCONTAINER_H
    66 #endif // TSDEVICEDIALOGCONTAINER_H