homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsoperatorhandler.h
changeset 71 1db7cc813a4e
parent 46 23b5d6a29cce
equal deleted inserted replaced
69:87476091b3f5 71:1db7cc813a4e
    21 #include <QObject>
    21 #include <QObject>
    22 #include "hbicon.h"
    22 #include "hbicon.h"
    23 #include "hsmenustates_global.h"
    23 #include "hsmenustates_global.h"
    24 
    24 
    25 class HsOperatorHandlerPrivate;
    25 class HsOperatorHandlerPrivate;
       
    26 class HbAction;
    26 
    27 
    27 class HsOperatorHandler: public QObject
    28 class HsOperatorHandler: public QObject
    28 {
    29 {
    29     Q_OBJECT
    30     Q_OBJECT
    30 
    31 
    31     HS_STATES_TEST_FRIEND_CLASS(MenuStatesTest)
    32     HS_STATES_TEST_FRIEND_CLASS(MenuStatesTest)
    32 
    33 
    33 public:
    34 public:
    34     HsOperatorHandler(QObject *parent = 0);
    35     HsOperatorHandler(QObject *parent = 0);
    35     virtual ~HsOperatorHandler();
    36     virtual ~HsOperatorHandler();
    36     HbIcon icon();
    37     bool operatorStorePresent();
       
    38     bool oviStorePresent();
       
    39     bool operatorStoreFirst();
       
    40     HbAction *prepareOperatorStoreAction(
       
    41             HbAction *const operatorAction);
    37     QString text();
    42     QString text();
    38 
    43 
    39 public slots:
    44 private:
       
    45     HbIcon icon();
       
    46 
       
    47 private slots:
    40     void action();
    48     void action();
    41 
    49 
    42 private:
    50 private:
    43     HsOperatorHandlerPrivate *const m_q;
    51     HsOperatorHandlerPrivate *const m_q;
    44 };
    52 };