Home · All Classes · All Namespaces · Modules · Functions · Files |
Base class for D-Bus service interfaces. More...
#include <TelepathyQt/AbstractDBusServiceInterface>
Inherits Tp::Object.
Inherited by Tp::AbstractCallContentInterface, Tp::AbstractChannelInterface, Tp::AbstractConnectionInterface, and Tp::AbstractProtocolInterface.
Base class for D-Bus service interfaces.
This class serves as a base for all the classes that are used to implement interfaces that sit on top of D-Bus services.
Tp::AbstractDBusServiceInterface::AbstractDBusServiceInterface | ( | const QString & | interfaceName | ) |
Construct an AbstractDBusServiceInterface that implements the interface with the given interfaceName.
interfaceName | The name of the interface that this class implements. |
Class destructor.
QString Tp::AbstractDBusServiceInterface::interfaceName | ( | ) | const |
Return the name of the interface that this class implements, as given on the constructor.
QVariantMap Tp::AbstractDBusServiceInterface::immutableProperties | ( | ) | const [pure 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().
Implemented in Tp::BaseChannelSMSInterface, Tp::BaseChannelConferenceInterface, Tp::BaseChannelSplittableInterface, Tp::BaseChannelMergeableConferenceInterface, Tp::BaseChannelHoldInterface, Tp::BaseChannelCallType, Tp::BaseChannelRoomConfigInterface, Tp::BaseChannelRoomInterface, Tp::BaseChannelGroupInterface, Tp::BaseConnectionAvatarsInterface, Tp::BaseChannelChatStateInterface, Tp::BaseConnectionAliasingInterface, Tp::BaseChannelSecurableInterface, Tp::BaseConnectionAddressingInterface, Tp::BaseChannelSASLAuthenticationInterface, Tp::BaseConnectionContactInfoInterface, Tp::BaseChannelCaptchaAuthenticationInterface, Tp::BaseConnectionContactListInterface, Tp::BaseChannelServerAuthenticationType, Tp::BaseConnectionSimplePresenceInterface, Tp::BaseProtocolPresenceInterface, Tp::BaseChannelRoomListType, Tp::BaseProtocolAvatarsInterface, Tp::BaseConnectionContactsInterface, Tp::BaseChannelMessagesInterface, Tp::BaseConnectionRequestsInterface, Tp::BaseProtocolAddressingInterface, Tp::BaseCallContentDTMFInterface, Tp::BaseChannelTextType, and Tp::BaseCallMuteInterface.
Return the DBusObject on which the adaptor of this interface is plugged.
This is only accessible after the interface has been registered with registerInterface().
bool Tp::AbstractDBusServiceInterface::isRegistered | ( | ) | const |
Return whether this interface has been registered.
true
if the service has been registered, or false
otherwise. bool Tp::AbstractDBusServiceInterface::registerInterface | ( | DBusObject * | dbusObject | ) | [protected, virtual] |
Registers this interface by plugging its adaptor on the given dbusObject.
dbusObject | The object on which to plug the adaptor. |
false
if the interface has already been registered, or true otherwise. void Tp::AbstractDBusServiceInterface::createAdaptor | ( | ) | [protected, pure virtual] |
Create the adaptor for this interface.
Subclasses should reimplement this appropriately.
bool Tp::AbstractDBusServiceInterface::notifyPropertyChanged | ( | const QString & | propertyName, |
const QVariant & | propertyValue | ||
) |
Emit PropertiesChanged signal on object org.freedesktop.DBus.Properties interface with the property propertyName.
propertyName | The name of the changed property. |
propertyValue | The actual value of the changed property. |
false
if the signal can not be emmited or true otherwise. Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation | Telepathy-Qt 0.9.6.1 |