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

#include <TelepathyQt/Channel>

Inherits Tp::AbstractInterface.

Public Member Functions

 ChannelInterfaceFileTransferMetadataInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelInterfaceFileTransferMetadataInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelInterfaceFileTransferMetadataInterface (Tp::DBusProxy *proxy)
 
 ChannelInterfaceFileTransferMetadataInterface (const Tp::Client::ChannelInterface &mainInterface)
 
 ChannelInterfaceFileTransferMetadataInterface (const Tp::Client::ChannelInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyServiceName () const
 
Tp::PendingOperationsetPropertyServiceName (QString newValue)
 
Tp::PendingVariantrequestPropertyMetadata () const
 
Tp::PendingOperationsetPropertyMetadata (Tp::Metadata newValue)
 
Tp::PendingVariantMaprequestAllProperties () const
 
- Public Member Functions inherited from Tp::AbstractInterface
virtual ~AbstractInterface ()
 
bool isValid () const
 
QString invalidationReason () const
 
QString invalidationMessage () const
 
void setMonitorProperties (bool monitorProperties)
 
bool isMonitoringProperties () const
 

Static Public Member Functions

static QLatin1String staticInterfaceName ()
 

Protected Member Functions

virtual void invalidate (Tp::DBusProxy *, const QString &, const QString &)
 
- Protected Member Functions inherited from Tp::AbstractInterface
 AbstractInterface (DBusProxy *proxy, const QLatin1String &interface)
 
 AbstractInterface (const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 
- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

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

Constructor & Destructor Documentation

◆ ChannelInterfaceFileTransferMetadataInterface() [1/5]

Tp::Client::ChannelInterfaceFileTransferMetadataInterface::ChannelInterfaceFileTransferMetadataInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Parameters
busNameName of the service the object is on.
objectPathPath to the object on the service.
parentPassed to the parent class constructor.

◆ ChannelInterfaceFileTransferMetadataInterface() [2/5]

Tp::Client::ChannelInterfaceFileTransferMetadataInterface::ChannelInterfaceFileTransferMetadataInterface ( const QDBusConnection &  connection,
const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Parameters
connectionThe bus via which the object can be reached.
busNameName of the service the object is on.
objectPathPath to the object on the service.
parentPassed to the parent class constructor.

◆ ChannelInterfaceFileTransferMetadataInterface() [3/5]

Tp::Client::ChannelInterfaceFileTransferMetadataInterface::ChannelInterfaceFileTransferMetadataInterface ( Tp::DBusProxy proxy)

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

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.

◆ ChannelInterfaceFileTransferMetadataInterface() [4/5]

Tp::Client::ChannelInterfaceFileTransferMetadataInterface::ChannelInterfaceFileTransferMetadataInterface ( const Tp::Client::ChannelInterface mainInterface)
explicit

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

Parameters
mainInterfaceThe proxy to use.

◆ ChannelInterfaceFileTransferMetadataInterface() [5/5]

Tp::Client::ChannelInterfaceFileTransferMetadataInterface::ChannelInterfaceFileTransferMetadataInterface ( const Tp::Client::ChannelInterface mainInterface,
QObject *  parent 
)

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

Parameters
mainInterfaceThe proxy to use.
parentPassed to the parent class constructor.

Member Function Documentation

◆ staticInterfaceName()

static QLatin1String Tp::Client::ChannelInterfaceFileTransferMetadataInterface::staticInterfaceName ( )
inlinestatic

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

Returns
The D-Bus interface name.

◆ requestPropertyServiceName()

Tp::PendingVariant* Tp::Client::ChannelInterfaceFileTransferMetadataInterface::requestPropertyServiceName ( ) const
inline

Asynchronous getter for the remote object property ServiceName of type QString.

A string representing the service name that will be used over the file transfer channel. This property is equivalent to the ChannelTypeDBusTubeInterface::ServiceName and ChannelTypeStreamTubeInterface::Service properties. If no service name is given then this property will be the empty string.

Returns
A pending variant which will emit finished when the property has been retrieved.

◆ setPropertyServiceName()

Tp::PendingOperation* Tp::Client::ChannelInterfaceFileTransferMetadataInterface::setPropertyServiceName ( QString  newValue)
inline

Asynchronous setter for the remote object property ServiceName of type QString.

A string representing the service name that will be used over the file transfer channel. This property is equivalent to the ChannelTypeDBusTubeInterface::ServiceName and ChannelTypeStreamTubeInterface::Service properties. If no service name is given then this property will be the empty string.

Returns
A pending operation which will emit finished when the property has been set.

◆ requestPropertyMetadata()

Tp::PendingVariant* Tp::Client::ChannelInterfaceFileTransferMetadataInterface::requestPropertyMetadata ( ) const
inline

Asynchronous getter for the remote object property Metadata of type Tp::Metadata.

Additional information about the file transfer set by the channel initiator. If no additional information is given then this property will be empty.

Returns
A pending variant which will emit finished when the property has been retrieved.

◆ setPropertyMetadata()

Tp::PendingOperation* Tp::Client::ChannelInterfaceFileTransferMetadataInterface::setPropertyMetadata ( Tp::Metadata  newValue)
inline

Asynchronous setter for the remote object property Metadata of type Tp::Metadata.

Additional information about the file transfer set by the channel initiator. If no additional information is given then this property will be empty.

Returns
A pending operation which will emit finished when the property has been set.

◆ requestAllProperties()

Tp::PendingVariantMap* Tp::Client::ChannelInterfaceFileTransferMetadataInterface::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.

◆ invalidate()

void Tp::Client::ChannelInterfaceFileTransferMetadataInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.