phoneplugins/phoneindicatorplugin/inc/phoneindicatorinterface.h
changeset 46 bc5a64e5bc3c
parent 45 6b911d05207e
child 50 377c906a8701
equal deleted inserted replaced
45:6b911d05207e 46:bc5a64e5bc3c
    31 public:
    31 public:
    32     PhoneIndicatorInterface(const QString &indicatorType,
    32     PhoneIndicatorInterface(const QString &indicatorType,
    33                                  int typeIndex,
    33                                  int typeIndex,
    34                                  Interaction interaction);
    34                                  Interaction interaction);
    35 
    35 
    36     ~PhoneIndicatorInterface();
    36     ~PhoneIndicatorInterface(){}
    37 
    37 
    38     bool handleInteraction(InteractionType type);
    38     bool handleInteraction(InteractionType type);
    39     QVariant indicatorData(int role) const;
    39     QVariant indicatorData(int role) const;
    40     
       
    41 private slots:
       
    42     void handleReturnValue(const QVariant &returnValue);
       
    43     void handleError(int errorCode,const QString &errorMessage);
       
    44 
    40 
    45 protected:
    41 protected:
    46 
    42 
    47     bool handleClientRequest(RequestType type, const QVariant &parameter);
    43     bool handleClientRequest(RequestType type, const QVariant &parameter);
    48     
       
    49 private:
       
    50     void launchDivertSettingsView();
       
    51 
    44 
    52 private:
    45 private:
    53 
    46 
    54     int m_typeIndex;
    47     int m_typeIndex;
    55     Interaction m_interaction;
    48     Interaction m_interaction;
    56     QString m_primaryText;
    49     QString m_primaryText;
    57     QString m_secondaryText;
    50     QString m_secondaryText;
    58     QString m_icon;
    51     QString m_icon;
    59     QString m_icon2;
    52     QString m_icon2;
    60     QVariant m_parameter;
    53     QVariant m_parameter;
    61     XQApplicationManager m_appMgr;
       
    62 };
    54 };
    63 
    55 
    64 #endif // PHONEINDICATORINTERFACE_H
    56 #endif // PHONEINDICATORINTERFACE_H