contentstorage/caclient/stub/inc/caclientnotifierproxy.h
changeset 87 9d806967057c
parent 85 7feec50967db
child 93 82b66994846c
equal deleted inserted replaced
86:e492551a0d54 87:9d806967057c
    39      * Method invoked when entry is changed.
    39      * Method invoked when entry is changed.
    40      * @param entryId entry id.
    40      * @param entryId entry id.
    41      * @param changeType change type.
    41      * @param changeType change type.
    42      */
    42      */
    43     virtual void entryChanged(int entryId,
    43     virtual void entryChanged(int entryId,
    44         ChangeType changeType) const = 0;
    44                               ChangeType changeType) const = 0;
    45 
    45 
    46     /**
    46     /**
    47      * Method invoked when entry is changed.
    47      * Method invoked when entry is changed.
    48      * @param entry entry.
    48      * @param entry entry.
    49      * @param changeType change type.
    49      * @param changeType change type.
    50      */
    50      */
    51     virtual void entryChanged(const CaEntry &entry,
    51     virtual void entryChanged(const CaEntry &entry,
    52         ChangeType changeType) const = 0;
    52                               ChangeType changeType) const = 0;
    53 
    53 
    54     /**
    54     /**
    55      * Method invoked when entry was changed.
    55      * Method invoked when entry was changed.
    56      * @param entryId entry id.
    56      * @param entryId entry id.
    57      */
    57      */
    65 };
    65 };
    66 
    66 
    67 
    67 
    68 class CACLIENT_EXPORT CaClientNotifierProxy: public QObject
    68 class CACLIENT_EXPORT CaClientNotifierProxy: public QObject
    69 {
    69 {
    70 Q_OBJECT
    70     Q_OBJECT
    71 
    71 
    72 public:
    72 public:
    73 
    73 
    74     /**
    74     /**
    75      * Constructor.
    75      * Constructor.
    93      * Method invoked when entry is changed.
    93      * Method invoked when entry is changed.
    94      * @param entry entry.
    94      * @param entry entry.
    95      * @param changeType change type.
    95      * @param changeType change type.
    96      */
    96      */
    97     virtual void entryChanged(const CaEntry &entry,
    97     virtual void entryChanged(const CaEntry &entry,
    98         ChangeType changeType) const;
    98                               ChangeType changeType) const;
    99 
    99 
   100     /**
   100     /**
   101      * Method invoked when entry was changed.
   101      * Method invoked when entry was changed.
   102      * @param entryId entry id.
   102      * @param entryId entry id.
   103      */
   103      */
   133 
   133 
   134 signals:
   134 signals:
   135 
   135 
   136     void signalEntryChanged(int entryId, ChangeType changeType) const;
   136     void signalEntryChanged(int entryId, ChangeType changeType) const;
   137     void signalEntryChanged(const CaEntry &entry,
   137     void signalEntryChanged(const CaEntry &entry,
   138         ChangeType changeType) const;
   138                             ChangeType changeType) const;
   139     void signalEntryTouched(int id) const;
   139     void signalEntryTouched(int id) const;
   140     void signalGroupContentChanged(int groupId) const;
   140     void signalGroupContentChanged(int groupId) const;
   141 
   141 
   142 private:
   142 private:
   143 
   143