accounts-qt 0.31
|
Monitors an account key or group of keys. More...
#include <account.h>
Signals | |
void | notify (const char *key) |
Emitted when the value of the keys monitored by this watch change. | |
Public Member Functions | |
Watch (QObject *parent=0) | |
~Watch () | |
void | setWatch (AgAccountWatch w) |
Public Attributes | |
AgAccountWatch | watch |
Friends | |
class | Private |
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's monitoring is changed.
Watch::Watch | ( | QObject * | parent = 0 | ) |
Definition at line 66 of file account.cpp.
Watch::~Watch | ( | ) |
Definition at line 71 of file account.cpp.
References watch.
void Accounts::Watch::notify | ( | const char * | key | ) | [signal] |
Emitted when the value of the keys monitored by this watch change.
key | The 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. |
void Accounts::Watch::setWatch | ( | AgAccountWatch | w | ) | [inline] |
Definition at line 91 of file account.h.
Referenced by Accounts::Account::watchKey().