MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

Accounts::Watch Class Reference

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

Inheritance diagram for Accounts::Watch:
Inheritance graph
[legend]

List of all members.

Signals

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

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.


Member Function Documentation

void Accounts::Watch::notify ( const char *  key  )  [signal]

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

Parameters:
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.

Copyright (C) 2009-2011 Nokia Corporation.
LGPL
MeeGo 1.2 Harmattan API