coreapplicationuis/powersaveutilities/psmindicatorplugin/inc/psmindicator.h
changeset 77 b01c07dfcf84
parent 51 50b444048a8d
equal deleted inserted replaced
74:1505405bc645 77:b01c07dfcf84
    24 #include <QtCore/QProcess>
    24 #include <QtCore/QProcess>
    25 
    25 
    26 #include <hbindicatorinterface.h>
    26 #include <hbindicatorinterface.h>
    27 #include <hbindicatorplugininterface.h>
    27 #include <hbindicatorplugininterface.h>
    28 #include <hbtranslator.h>
    28 #include <hbtranslator.h>
       
    29 #include <xqappmgr.h>
    29 
    30 
    30 
    31 
    31 /**
    32 /**
    32  * PSM indicator class. 
    33  * PSM indicator class. 
    33  * Handles client request and shows the indications. 
    34  * Handles client request and shows the indications. 
    61    
    62    
    62 private:
    63 private:
    63 
    64 
    64     QString iDisplayName;
    65     QString iDisplayName;
    65     QString iIcon;
    66     QString iIcon;
    66     QProcess iProcess;
       
    67     QStringList iIndicatorTypes;
    67     QStringList iIndicatorTypes;
    68     HbTranslator *iTrans;
    68     HbTranslator *iTrans;
    69   
    69   
    70     
    70     
    71 private slots:
    71 private slots:
    72     void processError(QProcess::ProcessError err); // handler for error codes
    72     
    73 
    73        
       
    74     void closeSettingView();
    74 private:
    75 private:
    75     Q_DISABLE_COPY(PsmIndicatorPlugin)
    76     Q_DISABLE_COPY(PsmIndicatorPlugin)
    76     int mError;
    77     int mError;
       
    78     //Qthighway methodology
       
    79     XQApplicationManager mAppMgr;
       
    80     XQAiwRequest *mRequest;
    77     };
    81     };
    78 
    82 
    79 #endif // PSMINDICATOR_H
    83 #endif // PSMINDICATOR_H
    80 
    84