• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdenetwork API Reference
  • KDE Home
  • Contact Us
 

kget

Public Slots | Signals | Public Member Functions | List of all members
DBusTransferWrapper Class Reference

#include <dbustransferwrapper.h>

Inheritance diagram for DBusTransferWrapper:
Inheritance graph
[legend]

Public Slots

int capabilities () const
 
QString dest () const
 
qulonglong downloadedSize () const
 
int downloadLimit (int limit) const
 
int downloadSpeed () const
 
int elapsedTime () const
 
QString groupName () const
 
double maximumShareRatio ()
 
int percent () const
 
int remainingTime () const
 
bool repair (const QString &file)
 
bool setDirectory (const QString &directory)
 
void setDownloadLimit (int dlLimit, int limit)
 
void setMaximumShareRatio (double ratio)
 
void setUploadLimit (int ulLimit, int limit)
 
QString source () const
 
void start ()
 
int status () const
 
QDBusVariant statusPixmap () const
 
QString statusText () const
 
void stop ()
 
qulonglong totalSize () const
 
qulonglong uploadedSize () const
 
int uploadLimit (int limit) const
 
int uploadSpeed () const
 
QString verifier (const QString &file)
 

Signals

void capabilitiesChanged ()
 
void transferChangedEvent (int transferChange)
 

Public Member Functions

 DBusTransferWrapper (TransferHandler *parent)
 
 ~DBusTransferWrapper ()
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
virtual  ~QObject ()
 
bool blockSignals (bool block)
 
QObject * child (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
T findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThread * thread () const
 

Additional Inherited Members

- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Properties inherited from QObject
 objectName
 

Detailed Description

Definition at line 20 of file dbustransferwrapper.h.

Constructor & Destructor Documentation

DBusTransferWrapper::DBusTransferWrapper ( TransferHandler *  parent)

Definition at line 15 of file dbustransferwrapper.cpp.

DBusTransferWrapper::~DBusTransferWrapper ( )

Definition at line 23 of file dbustransferwrapper.cpp.

Member Function Documentation

int DBusTransferWrapper::capabilities ( ) const
slot

Definition at line 27 of file dbustransferwrapper.cpp.

void DBusTransferWrapper::capabilitiesChanged ( )
signal

Emitted whe the capabilities of the transfer changes.

QString DBusTransferWrapper::dest ( ) const
slot
Returns
the dest url

Definition at line 67 of file dbustransferwrapper.cpp.

qulonglong DBusTransferWrapper::downloadedSize ( ) const
slot
Returns
the downloaded size of the transfer in bytes

Definition at line 82 of file dbustransferwrapper.cpp.

int DBusTransferWrapper::downloadLimit ( int  limit) const
slot
Returns
the download Limit of the transfer in KiB

Definition at line 122 of file dbustransferwrapper.cpp.

int DBusTransferWrapper::downloadSpeed ( ) const
slot
Returns
the download speed of the transfer in bytes/sec

Definition at line 97 of file dbustransferwrapper.cpp.

int DBusTransferWrapper::elapsedTime ( ) const
slot

Definition at line 47 of file dbustransferwrapper.cpp.

QString DBusTransferWrapper::groupName ( ) const
slot
Returns
the transfer's group's name

Definition at line 57 of file dbustransferwrapper.cpp.

double DBusTransferWrapper::maximumShareRatio ( )
slot
Returns
the maximum share-ratio

Definition at line 132 of file dbustransferwrapper.cpp.

int DBusTransferWrapper::percent ( ) const
slot
Returns
the progress percentage of the transfer

Definition at line 92 of file dbustransferwrapper.cpp.

int DBusTransferWrapper::remainingTime ( ) const
slot

Definition at line 52 of file dbustransferwrapper.cpp.

bool DBusTransferWrapper::repair ( const QString &  file)
slot

Tries to repair file.

Parameters
filethe file of a download that should be repaired, if not defined all files of a download are going to be repaird
Returns
true if a repair started, false if it was not nescessary

Definition at line 164 of file dbustransferwrapper.cpp.

bool DBusTransferWrapper::setDirectory ( const QString &  directory)
slot

Move the download to the new destination.

Parameters
newDirectoryis a directory where the download should be stored
Returns
true if newDestination can be used

Definition at line 72 of file dbustransferwrapper.cpp.

void DBusTransferWrapper::setDownloadLimit ( int  dlLimit,
int  limit 
)
slot

Set a DownloadLimit for the transfer.

Note
this DownloadLimit is not visible in the GUI
Parameters
dlLimitdownload Limit

Definition at line 112 of file dbustransferwrapper.cpp.

void DBusTransferWrapper::setMaximumShareRatio ( double  ratio)
slot

Set the maximum share-ratio.

Parameters
ratiothe new maximum share-ratio

Definition at line 127 of file dbustransferwrapper.cpp.

void DBusTransferWrapper::setUploadLimit ( int  ulLimit,
int  limit 
)
slot

Set an UploadLimit for the transfer.

Note
this UploadLimit is not visible in the GUI
Parameters
ulLimitupload Limit

Definition at line 107 of file dbustransferwrapper.cpp.

QString DBusTransferWrapper::source ( ) const
slot
Returns
the source url

Definition at line 62 of file dbustransferwrapper.cpp.

void DBusTransferWrapper::start ( )
slot

Definition at line 32 of file dbustransferwrapper.cpp.

int DBusTransferWrapper::status ( ) const
slot

Definition at line 42 of file dbustransferwrapper.cpp.

QDBusVariant DBusTransferWrapper::statusPixmap ( ) const
slot
Returns
a pixmap associated with the current transfer status

Definition at line 142 of file dbustransferwrapper.cpp.

QString DBusTransferWrapper::statusText ( ) const
slot
Returns
a string describing the current transfer status

Definition at line 137 of file dbustransferwrapper.cpp.

void DBusTransferWrapper::stop ( )
slot

Definition at line 37 of file dbustransferwrapper.cpp.

qulonglong DBusTransferWrapper::totalSize ( ) const
slot
Returns
the total size of the transfer in bytes

Definition at line 77 of file dbustransferwrapper.cpp.

void DBusTransferWrapper::transferChangedEvent ( int  transferChange)
signal

Emitted when the transfer changes.

qulonglong DBusTransferWrapper::uploadedSize ( ) const
slot
Returns
the uploaded size of the transfer in bytes

Definition at line 87 of file dbustransferwrapper.cpp.

int DBusTransferWrapper::uploadLimit ( int  limit) const
slot
Returns
the upload Limit of the transfer in KiB

Definition at line 117 of file dbustransferwrapper.cpp.

int DBusTransferWrapper::uploadSpeed ( ) const
slot
Returns
the upload speed of the transfer in bytes/sec

Definition at line 102 of file dbustransferwrapper.cpp.

QString DBusTransferWrapper::verifier ( const QString &  file)
slot

Returns the dBusObjectPath to the verifier.

Parameters
filefor wich to return the verifier

Definition at line 154 of file dbustransferwrapper.cpp.


The documentation for this class was generated from the following files:
  • dbustransferwrapper.h
  • dbustransferwrapper.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:28:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kget

Skip menu "kget"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal