marble
HttpDownloadManager.cpp
Go to the documentation of this file.
110 d->m_networkAccessManager.setNetworkAccessible( enable ? QNetworkAccessManager::Accessible : QNetworkAccessManager::NotAccessible );
112 QList<QPair<DownloadPolicyKey, DownloadQueueSet *> >::iterator const end = d->m_queueSets.end();
144 void HttpDownloadManager::finishJob( const QByteArray& data, const QString& destinationFileName,
165 QList<QPair<DownloadPolicyKey, DownloadQueueSet *> >::iterator const end = d->m_queueSets.end();
Definition: DownloadPolicy.h:55
virtual ~HttpDownloadManager()
Destroys the http download manager.
Definition: HttpDownloadManager.cpp:103
void setMaximumConnections(const int)
Definition: DownloadPolicy.cpp:84
void addJob(const QUrl &sourceUrl, const QString &destFilename, const QString &id, const DownloadUsage usage)
Adds a new job with a sourceUrl, destination file name and given id.
Definition: HttpDownloadManager.cpp:129
Definition: StoragePolicy.h:25
void setDownloadEnabled(const bool enable)
Switches loading on/off, useful for offline mode.
Definition: HttpDownloadManager.cpp:108
QString host() const
Browsing mode, normal operation of Marble, like a web browser.
Definition: MarbleGlobal.h:166
void progressChanged(int active, int queued)
A job was queued, activated or removed (finished, failed)
void addDownloadPolicy(const DownloadPolicy &)
Definition: HttpDownloadManager.cpp:119
bool canAcceptJob(const QUrl &sourceUrl, const QString &destinationFileName) const
Definition: DownloadQueueSet.cpp:51
void setDownloadUsage(const DownloadUsage)
Definition: HttpJob.cpp:112
void jobAdded()
Signal is emitted when a new job is added to the queue.
void downloadComplete(QString, QString)
void jobRemoved()
Signal is emitted when a job is removed from the queue.
void setUserAgentPluginId(const QString &pluginId) const
Definition: HttpJob.cpp:117
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Definition: HttpJob.h:33
DownloadPolicy downloadPolicy() const
Definition: DownloadQueueSet.cpp:41
Bulk download, for example "File/Download region".
Definition: MarbleGlobal.h:165
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.