accounts-qt  1.11
Watch Class Reference

Monitors an account key or group of keys. More...

#include <Accounts/Account>

Inherits QObject.

Signals

void notify (const char *key)
 Emitted when the value of the keys monitored by this watch change. More...
 

Detailed Description

Monitors an account key or group of keys.

A watch is created via the Account::watch method and is a simple object which will emit the notify() signal when the value of the key (or group) that it is monitoring is changed.

Definition at line 70 of file account.h.

Member Function Documentation

notify ( const char *  key)
signal

Emitted when the value of the keys monitored by this watch change.

Parameters
keyThe string that was used to create this watch. Note that if this watch is monitor multiple keys this param only identifies their common prefix, and not the actual key being changed.

The documentation for this class was generated from the following files: