An interface to download a file from Google Drive
#include <GCF3/IGDriveLiteFileDownloader>
.
More...
Instances of objects that implement this interface are created using GCF::IGDriveLite::createFileDownloader()
GCF::IGDriveLiteFileDownloader::~IGDriveLiteFileDownloader |
( |
| ) |
|
GCF::IGDriveLiteFileDownloader::id |
( |
| ) |
const |
|
pure virtual |
Id of the file item that needs to be downloaded.
- Returns
QString
id of item
GCF::IGDriveLiteFileDownloader::item |
( |
| ) |
const |
|
pure virtual |
GCF::IGDriveLiteFileDownloader::setPreferredDownloadMimeType |
( |
const QString & |
mimeType | ) |
|
|
pure virtual |
Sets the preferred download mime type to download. When a document is been created using google docs in google drive. We are given an option to download it as pdf, image, etc. By setting a mime type the downloader will download in that format.
GCF::IGDriveLiteFileDownloader::preferredDownloadMimeType |
( |
| ) |
const |
|
pure virtual |
Returns the currently set download mime type for the current file Item.
GCF::IGDriveLiteFileDownloader::usedDownloadMimeType |
( |
| ) |
const |
|
pure virtual |
Returns the used mime type to download the file.
GCF::IGDriveLiteFileDownloader::setDownloadedFileName |
( |
const QString & |
fName | ) |
|
|
pure virtual |
Sets the download file name to 'fName'.
GCF::IGDriveLiteFileDownloader::downloadedFileName |
( |
| ) |
const |
|
pure virtual |
The name of file as which the current item has been downloaded.
GCF::IGDriveLiteFileDownloader::downloadProgressChanged |
( |
int |
| ) |
|
|
pure virtual |
This signal is emitted when the download progress is changed.