#include <TelepathyQt4/Client/Channel>
Public Slots | |
QDBusPendingReply< uint > | GetPasswordFlags () |
QDBusPendingReply< bool > | ProvidePassword (const QString &password) |
Signals | |
void | PasswordFlagsChanged (uint added, uint removed) |
Public Member Functions | |
ChannelInterfacePasswordInterface (const QString &serviceName, const QString &objectPath, QObject *parent=0) | |
ChannelInterfacePasswordInterface (const QDBusConnection &connection, const QString &serviceName, const QString &objectPath, QObject *parent=0) | |
ChannelInterfacePasswordInterface (Telepathy::Client::DBusProxy *proxy) | |
ChannelInterfacePasswordInterface (const Telepathy::Client::ChannelInterface &mainInterface) | |
ChannelInterfacePasswordInterface (const Telepathy::Client::ChannelInterface &mainInterface, QObject *parent) | |
Static Public Member Functions | |
static const char * | staticInterfaceName () |
Protected Member Functions | |
virtual void | invalidate (Telepathy::Client::DBusProxy *, const QString &, const QString &) |
Telepathy::Client::ChannelInterfacePasswordInterface::ChannelInterfacePasswordInterface | ( | const QString & | serviceName, | |
const QString & | objectPath, | |||
QObject * | parent = 0 | |||
) |
Creates a ChannelInterfacePasswordInterface associated with the given object on the session bus.
serviceName | Name of the service the object is on. | |
objectPath | Path to the object on the service. | |
parent | Passed to the parent class constructor. |
Telepathy::Client::ChannelInterfacePasswordInterface::ChannelInterfacePasswordInterface | ( | const QDBusConnection & | connection, | |
const QString & | serviceName, | |||
const QString & | objectPath, | |||
QObject * | parent = 0 | |||
) |
Creates a ChannelInterfacePasswordInterface associated with the given object on the given bus.
connection | The bus via which the object can be reached. | |
serviceName | Name of the service the object is on. | |
objectPath | Path to the object on the service. | |
parent | Passed to the parent class constructor. |
Telepathy::Client::ChannelInterfacePasswordInterface::ChannelInterfacePasswordInterface | ( | Telepathy::Client::DBusProxy * | proxy | ) |
Creates a ChannelInterfacePasswordInterface associated with the same object as the given proxy.
proxy | The proxy to use. It will also be the QObject::parent() for this object. |
Telepathy::Client::ChannelInterfacePasswordInterface::ChannelInterfacePasswordInterface | ( | const Telepathy::Client::ChannelInterface & | mainInterface | ) | [explicit] |
Creates a ChannelInterfacePasswordInterface associated with the same object as the given proxy. Additionally, the created proxy will have the same parent as the given proxy.
mainInterface | The proxy to use. |
Telepathy::Client::ChannelInterfacePasswordInterface::ChannelInterfacePasswordInterface | ( | const Telepathy::Client::ChannelInterface & | mainInterface, | |
QObject * | parent | |||
) |
Creates a ChannelInterfacePasswordInterface associated with the same object as the given proxy. However, a different parent object can be specified.
mainInterface | The proxy to use. | |
parent | Passed to the parent class constructor. |
QDBusPendingReply<uint> Telepathy::Client::ChannelInterfacePasswordInterface::GetPasswordFlags | ( | ) | [inline, slot] |
Begins a call to the D-Bus method "GetPasswordFlags" on the remote object.
Returns the bitwise-OR of the flags relevant to the password on this channel. The user interface can use this to present information about which operations are currently valid.
References Telepathy::Client::AbstractInterface::invalidationMessage(), and Telepathy::Client::AbstractInterface::invalidationReason().
virtual void Telepathy::Client::ChannelInterfacePasswordInterface::invalidate | ( | Telepathy::Client::DBusProxy * | , | |
const QString & | , | |||
const QString & | ||||
) | [protected, virtual] |
Reimplemented from Telepathy::Client::AbstractInterface.
void Telepathy::Client::ChannelInterfacePasswordInterface::PasswordFlagsChanged | ( | uint | added, | |
uint | removed | |||
) | [signal] |
Represents the signal "PasswordFlagsChanged" on the remote object.
Emitted when the flags as returned by GetPasswordFlags are changed. The user interface should be updated as appropriate.
added | A bitwise OR of the flags which have been set | |
removed | A bitwise OR of the flags which have been cleared |
QDBusPendingReply<bool> Telepathy::Client::ChannelInterfacePasswordInterface::ProvidePassword | ( | const QString & | password | ) | [inline, slot] |
Begins a call to the D-Bus method "ProvidePassword" on the remote object.
Provide the password so that the channel can be joined. Must be called with the correct password in order for channel joining to proceed if the 'provide' password flag is set.
password | The password |
References Telepathy::Client::AbstractInterface::invalidationMessage(), and Telepathy::Client::AbstractInterface::invalidationReason().
static const char* Telepathy::Client::ChannelInterfacePasswordInterface::staticInterfaceName | ( | ) | [inline, static] |
Returns the name of the interface "org.freedesktop.Telepathy.Channel.Interface.Password", which this class represents.