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

Tpy::Client::ChannelInterfaceCredentialsStorageInterface Class Reference

#include <TelepathyQt4Yell/Channel>

List of all members.

Public Slots

Public Member Functions

Static Public Member Functions

Protected Member Functions


Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Channel.Interface.CredentialsStorage.DRAFT."


Constructor & Destructor Documentation

Tpy::Client::ChannelInterfaceCredentialsStorageInterface::ChannelInterfaceCredentialsStorageInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

Creates a ChannelInterfaceCredentialsStorageInterface associated with the given object on the session bus.

Parameters:
busName Name of the service the object is on.
objectPath Path to the object on the service.
parent Passed to the parent class constructor.
Tpy::Client::ChannelInterfaceCredentialsStorageInterface::ChannelInterfaceCredentialsStorageInterface ( const QDBusConnection &  connection,
const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

Creates a ChannelInterfaceCredentialsStorageInterface associated with the given object on the given bus.

Parameters:
connection The bus via which the object can be reached.
busName Name of the service the object is on.
objectPath Path to the object on the service.
parent Passed to the parent class constructor.
Tpy::Client::ChannelInterfaceCredentialsStorageInterface::ChannelInterfaceCredentialsStorageInterface ( Tp::DBusProxy *  proxy  ) 

Creates a ChannelInterfaceCredentialsStorageInterface associated with the same object as the given proxy.

Parameters:
proxy The proxy to use. It will also be the QObject::parent() for this object.
Tpy::Client::ChannelInterfaceCredentialsStorageInterface::ChannelInterfaceCredentialsStorageInterface ( const Tp::Client::ChannelInterface &  mainInterface  )  [explicit]

Creates a ChannelInterfaceCredentialsStorageInterface associated with the same object as the given proxy. Additionally, the created proxy will have the same parent as the given proxy.

Parameters:
mainInterface The proxy to use.
Tpy::Client::ChannelInterfaceCredentialsStorageInterface::ChannelInterfaceCredentialsStorageInterface ( const Tp::Client::ChannelInterface &  mainInterface,
QObject *  parent 
)

Creates a ChannelInterfaceCredentialsStorageInterface associated with the same object as the given proxy. However, a different parent object can be specified.

Parameters:
mainInterface The proxy to use.
parent Passed to the parent class constructor.

Member Function Documentation

static QLatin1String Tpy::Client::ChannelInterfaceCredentialsStorageInterface::staticInterfaceName (  )  [inline, static]

Returns the name of the interface "org.freedesktop.Telepathy.Channel.Interface.CredentialsStorage.DRAFT", which this class represents.

Returns:
The D-Bus interface name.
Tp::PendingVariantMap* Tpy::Client::ChannelInterfaceCredentialsStorageInterface::requestAllProperties (  )  const [inline]

Request all of the DBus properties on the interface.

Returns:
A pending variant map which will emit finished when the properties have been retrieved.
QDBusPendingReply Tpy::Client::ChannelInterfaceCredentialsStorageInterface::StoreCredentials ( bool  store,
int  timeout = -1 
) [inline, slot]

Begins a call to the D-Bus method "StoreCredentials" on the remote object.

This method tells the connection manager whether to store the authentication response in order to allow the connection manager to sign-on automatically in the future.

If credentials have been stored in this way, the client SHOULD NOT attempt to store the credentials locally in a keyring.

This method MUST be called before <tp:dbus-ref namespace="org.freedesktop.Telepathy.Channel.Interface.SASLAuthentication">AcceptSASL</tp:dbus-ref> is called or it will have no effect.

Note that timeout is ignored as of now. It will be used once http://bugreports.qt.nokia.com/browse/QTBUG-11775 is fixed.

Parameters:
store Whether to store the authentication credentials.
timeout The timeout in milliseconds.
void Tpy::Client::ChannelInterfaceCredentialsStorageInterface::invalidate ( Tp::DBusProxy *  proxy,
const QString &  error,
const QString &  message 
) [protected, virtual]


Copyright © 2008-2010 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4-Yell 0.1.6