The TransferDBRecord class is a simple wrapper class for TransferEngine DBus message. More...
#include <TransferDBRecord>
enum | TransferDBRecordField { TransferID, TransferType, Progress, URL, ..., RestartSupported } |
TransferDBRecord () | |
TransferDBRecord ( const TransferDBRecord & other ) | |
~TransferDBRecord () | |
QVariant | value ( int index ) const |
TransferDBRecord & | operator= ( const TransferDBRecord & other ) |
void | registerType () |
The TransferDBRecord class is a simple wrapper class for TransferEngine DBus message.
This class wraps transfer method related information and is used to pass that information over the DBus to the any client who is interested in about it.
A single instance of TransferDBRecord contains information of a one transfer record in TransferEngine database. Usually clients don't need to fill any data to this class, instead they can request a list of TransferDBRecords from the TransferEngine and access its data via value() method.
Default constructor.
Copy constructor. Copies the other instance to this.
Destructor.
Register TransferDBRecord and QList<TransferDBRecord> as DBus types.
Returns any of the TransferDBRecord values based on the index. As an index it's recommended to use TransferDBRecord::TransferDBRecordField enum.
Assign operator. other is the instance of other TransferDBRecord to copy this instance.