emailuis/nmindicatorplugin/inc/nmindicator.h
changeset 43 99bcbff212ad
parent 23 2dc6caa42ec3
equal deleted inserted replaced
42:139d4b7b2938 43:99bcbff212ad
    48 
    48 
    49 public: // From HbIndicatorInterface
    49 public: // From HbIndicatorInterface
    50 
    50 
    51     bool handleInteraction(InteractionType type);
    51     bool handleInteraction(InteractionType type);
    52     QVariant indicatorData(int role) const;
    52     QVariant indicatorData(int role) const;
    53     HbIndicatorInterface::Category category() const;
       
    54     bool acceptIcon(bool sending);
       
    55     void updateGlobalStatus(bool sending);
       
    56 
    53 
    57 protected: // From HbIndicatorInterface
    54 protected: // From HbIndicatorInterface
    58 
    55 
    59     bool handleClientRequest(RequestType type, const QVariant &parameter);
    56     bool handleClientRequest(RequestType type, const QVariant &parameter);
    60 
    57 
    61 signals:
       
    62 
       
    63     void indicatorIconLost();
       
    64     void globalStatusChanged(bool sending);
       
    65     void mailboxLaunched(quint64 mailboxId);
       
    66 
       
    67 private slots:
    58 private slots:
    68 
    59 
    69     void hideSendIndicator();
    60     void delayedAction();
    70     
    61     
    71 private:
    62 private:
    72 
    63 
    73     void storeMailboxData(QVariant mailboxData);
    64     void storeMailboxData(QVariant mailboxData);
    74     void showSendProgress();
       
    75     bool isSending() const;
       
    76 
    65 
    77 private:
    66 private:
    78 
    67 
    79 	NmMailboxInfo mMailbox;
    68 	NmMailboxInfo mMailbox;
    80     bool mShowIndicator;
       
    81     bool mSendingState;
       
    82     bool mShowSendProgress;
       
    83 	bool mActive;
    69 	bool mActive;
    84 };
    70 };
    85 
    71 
    86 #endif // NMINDICATOR_H
    72 #endif // NMINDICATOR_H
    87 
    73