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 );
Binds a QML item to a specific geodetic location in screen coordinates.
DownloadUsage
This enum is used to describe the type of download.
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Sep 6 2024 11:58:09 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.