accounts-qt 0.31

Accounts::Watch Class Reference

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

#include <account.h>

List of all members.

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

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's monitoring is changed.

Definition at line 81 of file account.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

void Accounts::Watch::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.
void Accounts::Watch::setWatch ( AgAccountWatch  w) [inline]

Definition at line 91 of file account.h.

Referenced by Accounts::Account::watchKey().


Friends And Related Function Documentation

friend class Private [friend]

Definition at line 106 of file account.h.


Member Data Documentation

Definition at line 105 of file account.h.

Referenced by ~Watch().


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