Marble
5 #ifndef MARBLE_DOWNLOADQUEUESET_H
6 #define MARBLE_DOWNLOADQUEUESET_H
14 #include "DownloadPolicy.h"
71 DownloadPolicy downloadPolicy()
const;
72 void setDownloadPolicy(
const DownloadPolicy& );
74 bool canAcceptJob(
const QUrl& sourceUrl,
75 const QString& destinationFileName )
const;
76 void addJob( HttpJob *
const job );
88 void jobRedirected(
const QUrl& newSourceUrl,
const QString& destinationFileName,
90 void progressChanged(
int active,
int queued );
93 void finishJob( HttpJob * job,
const QByteArray& data );
94 void redirectJob( HttpJob * job,
const QUrl& newSourceUrl );
95 void retryOrBlacklistJob( HttpJob * job,
const int errorCode );
98 void activateJob( HttpJob *
const job );
99 void deactivateJob( HttpJob *
const job );
100 bool jobIsActive(
const QString& destinationFileName )
const;
101 bool jobIsQueued(
const QString& destinationFileName )
const;
102 bool jobIsWaitingForRetry(
const QString& destinationFileName )
const;
103 bool jobIsBlackListed(
const QUrl& sourceUrl )
const;
105 DownloadPolicy m_downloadPolicy;
113 bool contains(
const QString& destinationFileName )
const;
115 bool isEmpty()
const;
117 void push( HttpJob *
const );
DownloadUsage
This enum is used to describe the type of download.
Binds a QML item to a specific geodetic location in screen coordinates.
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Sep 27 2023 04:09:05 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.