TelepathyQt4: Tp::AccountSet Class Reference

| Home · All Classes · All Namespaces · Modules · Functions · Files

# Tp::AccountSet Class Reference

`#include <TelepathyQt4/account-set.h>`

Inherits Tp::RefCounted.

List of all members.

## Signals

- void accountAdded (const Tp::AccountPtr &account)
- void accountRemoved (const Tp::AccountPtr &account)

## Public Member Functions

- AccountSet (const AccountManagerPtr &accountManager, const QVariantMap &filter)
- virtual ~AccountSet ()
- bool isFilterValid () const
- AccountManagerPtr accountManager () const
- QVariantMap filter () const
- QList< AccountPtr > accounts () const

## Properties

- AccountManagerPtr accountManager
- QVariantMap filter
- QList< AccountPtr > accounts

## Constructor & Destructor Documentation

Tp::AccountSet::AccountSet | ( | const AccountManagerPtr & | accountManager,
|  | const QVariantMap & | filter |
| ) |  |  |

Tp::AccountSet::~AccountSet | ( |  | ) | `[virtual]`

## Member Function Documentation

bool Tp::AccountSet::isFilterValid | ( |  | ) | const

Return whether the filter returned by filter() is valid.

If the filter is invalid accounts() will always return an empty list.

Returns:
  `true` if the filter returned by filter() is valid, otherwise `false`.

AccountManagerPtr Tp::AccountSet::accountManager | ( |  | ) | const

QVariantMap Tp::AccountSet::filter | ( |  | ) | const

QList<AccountPtr> Tp::AccountSet::accounts | ( |  | ) | const

void Tp::AccountSet::accountAdded | ( | const Tp::AccountPtr & | account | ) | `[signal]`

void Tp::AccountSet::accountRemoved | ( | const Tp::AccountPtr & | account | ) | `[signal]`

## Property Documentation

AccountManagerPtr Tp::AccountSet::accountManager`[read]`

QVariantMap Tp::AccountSet::filter`[read]`

QList< AccountPtr > Tp::AccountSet::accounts`[read]`