| Ubuntu Download Manager
    1.2.0
    A session-wide downloading service |  | 
 
 
 
Go to the documentation of this file.
   19 #ifndef UBUNTU_DOWNLOADMANAGER_CLIENT_DOWNLOAD_H 
   20 #define UBUNTU_DOWNLOADMANAGER_CLIENT_DOWNLOAD_H 
   23 #include <QVariantMap> 
   28 namespace DownloadManager {
 
  198     virtual QString 
id() 
const = 0;
 
  326     void paused(
bool success);
 
  350     void progress(qulonglong received, qulonglong total);
 
  
 
void finished(const QString &path)
The Download class allows to control a download that was created in the download manager.
virtual Error * error() const =0
virtual QString id() const =0
void resumed(bool success)
virtual QVariantMap metadata()=0
void started(bool success)
virtual qulonglong progress()=0
void destinationAppChanged()
virtual bool isError() const =0
virtual void setDestinationDir(const QString &path)=0
virtual QString title() const =0
void canceled(bool success)
virtual void collected()=0
virtual void setMetadata(QVariantMap map)=0
void paused(bool success)
virtual void setHeaders(QMap< QString, QString > headers)=0
virtual QMap< QString, QString > headers()=0
virtual QString filePath()=0
virtual qulonglong totalSize()=0
Download(QObject *parent=0)
virtual bool isMobileDownloadAllowed()=0
virtual qulonglong throttle()=0
void processing(const QString &path)
virtual void setThrottle(qulonglong speed)=0
The Error class is the base class that represents an error in the download manager API.
virtual QString destinationApp() const =0
void clickPackagedChanged()
virtual void allowMobileDownload(bool allowed)=0
virtual QString clickPackage() const =0
virtual bool showInIndicator() const =0
void showInIndicatorChanged()