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

Base class for implementations of Channel.Type.RoomList. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Types

typedef Callback1< void, DBusError * > ListRoomsCallback
 
typedef Callback1< void, DBusError * > StopListingCallback
 

Public Member Functions

virtual ~BaseChannelRoomListType ()
 
QVariantMap immutableProperties () const
 
QString server () const
 
bool getListingRooms ()
 
void setListingRooms (bool listing)
 
void setListRoomsCallback (const ListRoomsCallback &cb)
 
void listRooms (DBusError *error)
 
void setStopListingCallback (const StopListingCallback &cb)
 
void stopListing (DBusError *error)
 
void gotRooms (const Tp::RoomInfoList &rooms)
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () 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 BaseChannelRoomListTypePtr create (const QString &server=QString())
 
template<typename BaseChannelRoomListTypeSubclass >
static SharedPtr< BaseChannelRoomListTypeSubclass > create (const QString &server=QString())
 

Protected Member Functions

 BaseChannelRoomListType (const QString &server)
 
- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- 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 Channel.Type.RoomList.

Member Typedef Documentation

◆ ListRoomsCallback

◆ StopListingCallback

Constructor & Destructor Documentation

◆ ~BaseChannelRoomListType()

Tp::BaseChannelRoomListType::~BaseChannelRoomListType ( )
virtual

Class destructor.

◆ BaseChannelRoomListType()

Tp::BaseChannelRoomListType::BaseChannelRoomListType ( const QString &  server)
protected

Class constructor.

Member Function Documentation

◆ create() [1/2]

static BaseChannelRoomListTypePtr Tp::BaseChannelRoomListType::create ( const QString &  server = QString())
inlinestatic

◆ create() [2/2]

template<typename BaseChannelRoomListTypeSubclass >
static SharedPtr<BaseChannelRoomListTypeSubclass> Tp::BaseChannelRoomListType::create ( const QString &  server = QString())
inlinestatic

◆ immutableProperties()

QVariantMap Tp::BaseChannelRoomListType::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Reimplemented from Tp::AbstractDBusServiceInterface.

◆ server()

QString Tp::BaseChannelRoomListType::server ( ) const

◆ getListingRooms()

bool Tp::BaseChannelRoomListType::getListingRooms ( )

◆ setListingRooms()

void Tp::BaseChannelRoomListType::setListingRooms ( bool  listing)

◆ setListRoomsCallback()

void Tp::BaseChannelRoomListType::setListRoomsCallback ( const ListRoomsCallback cb)

◆ listRooms()

void Tp::BaseChannelRoomListType::listRooms ( DBusError error)

◆ setStopListingCallback()

void Tp::BaseChannelRoomListType::setStopListingCallback ( const StopListingCallback cb)

◆ stopListing()

void Tp::BaseChannelRoomListType::stopListing ( DBusError error)

◆ gotRooms()

void Tp::BaseChannelRoomListType::gotRooms ( const Tp::RoomInfoList rooms)