Incomplete document for singledownload
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-download-manager (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
https:/
There a number of signals or properties are not documented for the API. For example, the "finished" signal is very useful for showing the completion of the download:
liuxg@liuxg:
import QtQuick.tooling 1.1
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by:
// 'qmlplugindump Ubuntu.
Module {
Component {
name: "Ubuntu:
prototype: "QObject"
exports: ["Error 0.1"]
Property { name: "type"; type: "string"; isReadonly: true }
Property { name: "message"; type: "string"; isReadonly: true }
}
Component {
name: "Ubuntu:
prototype: "QObject"
exports: ["SingleDownload 0.1"]
Property { name: "autoStart"; type: "bool" }
Property { name: "errorMessage"; type: "string"; isReadonly: true }
Property { name: "isCompleted"; type: "bool"; isReadonly: true }
Property { name: "downloadInProg
Property { name: "allowMobileDow
Property { name: "throttle"; type: "qulonglong" }
Property { name: "progress"; type: "int"; isReadonly: true }
Property { name: "downloading"; type: "bool"; isReadonly: true }
Property { name: "downloadId"; type: "string"; isReadonly: true }
Property { name: "headers"; type: "QVariantMap" }
Signal {
name: "canceled"
}
Signal {
name: "finished"
}
Signal {
name: "paused"
}
Signal {
name: "processing"
}
Signal {
name: "progressReceived"
}
Signal {
name: "resumed"
}
Signal {
name: "started"
}
Signal {
name: "errorFound"
}
Signal { name: "errorChanged" }
Method {
name: "registerError"
}
Method {
name: "bindDownload"
}
Method {
name: "unbindDownload"
}
Method {
name: "onFinished"
}
Method {
name: "onProgress"
}
Method {
name: "onPaused"
}
Method {
name: "onResumed"
}
Method {
name: "onStarted"
}
Method {
name: "onCanceled"
}
Method { name: "start" }
Method { name: "pause" }
Method { name: "resume" }
Method { name: "cancel" }
Method {
name: "download"
}
}
Component {
name: "Ubuntu:
prototype: "QObject"
exports: ["DownloadManager 0.1"]
Property { name: "autoStart"; type: "bool" }
Property { name: "cleanDownloads"; type: "bool" }
Property { name: "errorMessage"; type: "string"; isReadonly: true }
Property { name: "downloads"; type: "QVariantList"; isReadonly: true }
Signal { name: "errorChanged" }
Method {
name: "download"
}
}
}
affects: | developer-ubuntu-com → ubuntu-download-manager |
no longer affects: | ubuntu-download-manager |