Home · Modules · All Classes · All Namespaces
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::BaseConnectionContactGroupsInterface Class Reference

Base class for implementations of Connection.Interface.ContactGroups. More...

#include <TelepathyQt/BaseConnection>

Inherits Tp::AbstractConnectionInterface.

Public Types

typedef Callback3< void, uint, const QStringList &, DBusError * > SetContactGroupsCallback
 
typedef Callback3< void, const QString &, const Tp::UIntList &, DBusError * > SetGroupMembersCallback
 
typedef Callback3< void, const QString &, const Tp::UIntList &, DBusError * > AddToGroupCallback
 
typedef Callback3< void, const QString &, const Tp::UIntList &, DBusError * > RemoveFromGroupCallback
 
typedef Callback2< void, const QString &, DBusError * > RemoveGroupCallback
 
typedef Callback3< void, const QString &, const QString &, DBusError * > RenameGroupCallback
 

Public Member Functions

virtual ~BaseConnectionContactGroupsInterface ()
 
bool disjointGroups () const
 
void setDisjointGroups (bool disjointGroups)
 
Tp::ContactMetadataStorageType groupStorage () const
 
void setGroupStorage (Tp::ContactMetadataStorageType groupStorage)
 
QStringList groups () const
 
void setGroups (const QStringList &groups)
 
void setSetContactGroupsCallback (const SetContactGroupsCallback &cb)
 
void setContactGroups (uint contact, const QStringList &groups, DBusError *error)
 
void setSetGroupMembersCallback (const SetGroupMembersCallback &cb)
 
void setGroupMembers (const QString &group, const Tp::UIntList &members, DBusError *error)
 
void setAddToGroupCallback (const AddToGroupCallback &cb)
 
void addToGroup (const QString &group, const Tp::UIntList &members, DBusError *error)
 
void setRemoveFromGroupCallback (const RemoveFromGroupCallback &cb)
 
void removeFromGroup (const QString &group, const Tp::UIntList &members, DBusError *error)
 
void setRemoveGroupCallback (const RemoveGroupCallback &cb)
 
void removeGroup (const QString &group, DBusError *error)
 
void setRenameGroupCallback (const RenameGroupCallback &cb)
 
void renameGroup (const QString &oldName, const QString &newName, DBusError *error)
 
void groupsCreated (const QStringList &names)
 
void groupRenamed (const QString &oldName, const QString &newName)
 
void groupsRemoved (const QStringList &names)
 
void groupsChanged (const Tp::UIntList &contact, const QStringList &added, const QStringList &removed)
 
- Public Member Functions inherited from Tp::AbstractConnectionInterface
 AbstractConnectionInterface (const QString &interfaceName)
 
virtual ~AbstractConnectionInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
virtual QVariantMap immutableProperties () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseConnectionContactGroupsInterfacePtr create ()
 
template<typename BaseConnectionContactGroupsInterfaceSubclass >
static SharedPtr< BaseConnectionContactGroupsInterfaceSubclass > create ()
 

Protected Member Functions

 BaseConnectionContactGroupsInterface ()
 
- Protected Member Functions inherited from Tp::AbstractConnectionInterface
virtual void setBaseConnection (BaseConnection *connection)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Connection.Interface.ContactGroups.

Member Typedef Documentation

◆ SetContactGroupsCallback

◆ SetGroupMembersCallback

◆ AddToGroupCallback

◆ RemoveFromGroupCallback

◆ RemoveGroupCallback

◆ RenameGroupCallback

typedef Callback3<void, const QString &, const QString &, DBusError*> Tp::BaseConnectionContactGroupsInterface::RenameGroupCallback

Constructor & Destructor Documentation

◆ ~BaseConnectionContactGroupsInterface()

Tp::BaseConnectionContactGroupsInterface::~BaseConnectionContactGroupsInterface ( )
virtual

Class destructor.

◆ BaseConnectionContactGroupsInterface()

Tp::BaseConnectionContactGroupsInterface::BaseConnectionContactGroupsInterface ( )
protected

Class constructor.

Member Function Documentation

◆ create() [1/2]

static BaseConnectionContactGroupsInterfacePtr Tp::BaseConnectionContactGroupsInterface::create ( )
inlinestatic

◆ create() [2/2]

template<typename BaseConnectionContactGroupsInterfaceSubclass >
static SharedPtr<BaseConnectionContactGroupsInterfaceSubclass> Tp::BaseConnectionContactGroupsInterface::create ( )
inlinestatic

◆ disjointGroups()

bool Tp::BaseConnectionContactGroupsInterface::disjointGroups ( ) const

◆ setDisjointGroups()

void Tp::BaseConnectionContactGroupsInterface::setDisjointGroups ( bool  disjointGroups)

◆ groupStorage()

Tp::ContactMetadataStorageType Tp::BaseConnectionContactGroupsInterface::groupStorage ( ) const

◆ setGroupStorage()

void Tp::BaseConnectionContactGroupsInterface::setGroupStorage ( Tp::ContactMetadataStorageType  groupStorage)

◆ groups()

QStringList Tp::BaseConnectionContactGroupsInterface::groups ( ) const

◆ setGroups()

void Tp::BaseConnectionContactGroupsInterface::setGroups ( const QStringList &  groups)

◆ setSetContactGroupsCallback()

void Tp::BaseConnectionContactGroupsInterface::setSetContactGroupsCallback ( const SetContactGroupsCallback cb)

◆ setContactGroups()

void Tp::BaseConnectionContactGroupsInterface::setContactGroups ( uint  contact,
const QStringList &  groups,
DBusError error 
)

◆ setSetGroupMembersCallback()

void Tp::BaseConnectionContactGroupsInterface::setSetGroupMembersCallback ( const SetGroupMembersCallback cb)

◆ setGroupMembers()

void Tp::BaseConnectionContactGroupsInterface::setGroupMembers ( const QString &  group,
const Tp::UIntList members,
DBusError error 
)

◆ setAddToGroupCallback()

void Tp::BaseConnectionContactGroupsInterface::setAddToGroupCallback ( const AddToGroupCallback cb)

◆ addToGroup()

void Tp::BaseConnectionContactGroupsInterface::addToGroup ( const QString &  group,
const Tp::UIntList members,
DBusError error 
)

◆ setRemoveFromGroupCallback()

void Tp::BaseConnectionContactGroupsInterface::setRemoveFromGroupCallback ( const RemoveFromGroupCallback cb)

◆ removeFromGroup()

void Tp::BaseConnectionContactGroupsInterface::removeFromGroup ( const QString &  group,
const Tp::UIntList members,
DBusError error 
)

◆ setRemoveGroupCallback()

void Tp::BaseConnectionContactGroupsInterface::setRemoveGroupCallback ( const RemoveGroupCallback cb)

◆ removeGroup()

void Tp::BaseConnectionContactGroupsInterface::removeGroup ( const QString &  group,
DBusError error 
)

◆ setRenameGroupCallback()

void Tp::BaseConnectionContactGroupsInterface::setRenameGroupCallback ( const RenameGroupCallback cb)

◆ renameGroup()

void Tp::BaseConnectionContactGroupsInterface::renameGroup ( const QString &  oldName,
const QString &  newName,
DBusError error 
)

◆ groupsCreated()

void Tp::BaseConnectionContactGroupsInterface::groupsCreated ( const QStringList &  names)

◆ groupRenamed()

void Tp::BaseConnectionContactGroupsInterface::groupRenamed ( const QString &  oldName,
const QString &  newName 
)

◆ groupsRemoved()

void Tp::BaseConnectionContactGroupsInterface::groupsRemoved ( const QStringList &  names)

◆ groupsChanged()

void Tp::BaseConnectionContactGroupsInterface::groupsChanged ( const Tp::UIntList contact,
const QStringList &  added,
const QStringList &  removed 
)