camerauis/cameraxui/cxui/inc/cxuiapplicationframeworkmonitorprivate.h
changeset 56 01e205c615b9
parent 37 64817133cd1d
child 58 ddba9caa7f32
equal deleted inserted replaced
48:42ba2d16bf40 56:01e205c615b9
    17 #ifndef CXUIAPPLICATIONFRAMEWORKMONITORPRIVATE_H
    17 #ifndef CXUIAPPLICATIONFRAMEWORKMONITORPRIVATE_H
    18 #define CXUIAPPLICATIONFRAMEWORKMONITORPRIVATE_H
    18 #define CXUIAPPLICATIONFRAMEWORKMONITORPRIVATE_H
    19 
    19 
    20 #include <QObject>
    20 #include <QObject>
    21 #include <QVariant>
    21 #include <QVariant>
       
    22 #include <QTimer>
    22 #include "cxuiapplicationframeworkmonitor.h"
    23 #include "cxuiapplicationframeworkmonitor.h"
    23 
    24 
    24 
    25 
    25 class CxeSettings;
    26 class CxeSettings;
    26 class CxuiApplication;
    27 class CxuiApplication;
    48 
    49 
    49 #ifdef Q_OS_SYMBIAN
    50 #ifdef Q_OS_SYMBIAN
    50 private slots:
    51 private slots:
    51     void handleEvent(const QSymbianEvent *event);
    52     void handleEvent(const QSymbianEvent *event);
    52     void handlePropertyEvent(long int uid, unsigned long int key, QVariant value);
    53     void handlePropertyEvent(long int uid, unsigned long int key, QVariant value);
    53 
    54     void usbModeCheckTimerCallback();
    54 private:
    55 private:
    55     void init();
    56     void init();
    56     void handleWindowServerEvent(const QSymbianEvent *event);
    57     void handleWindowServerEvent(const QSymbianEvent *event);
    57     void handleUsbPropertyEvent(unsigned long int key, QVariant value);
    58     void handleUsbPropertyEvent(unsigned long int key, QVariant value);
    58     void setState(CxuiApplicationFrameworkMonitor::ForegroundState state);
    59     void setState(CxuiApplicationFrameworkMonitor::ForegroundState state);
    71     QString mWindowGroupName;
    72     QString mWindowGroupName;
    72 
    73 
    73     int mKeyLockState;
    74     int mKeyLockState;
    74     int mBatteryStatus;
    75     int mBatteryStatus;
    75     int mUsbPersonality;
    76     int mUsbPersonality;
    76 
    77     QTimer mUsbModeCheckTimer;
    77     CxuiEventLog *mEventLog;
    78     CxuiEventLog *mEventLog;
    78 #endif // Q_OS_SYMBIAN
    79 #endif // Q_OS_SYMBIAN
    79 
    80 
    80     CxuiApplicationFrameworkMonitor::ForegroundState mState;
    81     CxuiApplicationFrameworkMonitor::ForegroundState mState;
    81 
    82