• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

marble/src

HttpDownloadManager Class Reference

#include <HttpDownloadManager.h>

Inheritance diagram for HttpDownloadManager:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 42 of file HttpDownloadManager.h.


Public Slots

void addJob (const QString &relativeUrlString, const QString &id)
void addJob (const QString &server, const QString &relativeUrlString, const QString &id)
void removeJob (HttpJob *job)

Signals

void downloadComplete (QString, QString)
void statusMessage (QString)

Public Member Functions

 HttpDownloadManager (const QUrl &serverUrl, StoragePolicy *policy)
virtual ~HttpDownloadManager ()
void setServerUrl (const QUrl &serverUrl)
void setJobQueueLimit (int jobQueueLimit)
void setActivatedJobsLimit (int activatedJobsLimit)

Friends

class HttpJob

Constructor & Destructor Documentation

HttpDownloadManager::HttpDownloadManager ( const QUrl &  serverUrl,
StoragePolicy *  policy 
)

Creates a new http download manager.

Parameters:
serverUrl The url of the server to download from.
policy The storage policy for this manager.

Definition at line 20 of file HttpDownloadManager.cpp.

HttpDownloadManager::~HttpDownloadManager (  )  [virtual]

Destroys the http download manager.

Definition at line 39 of file HttpDownloadManager.cpp.


Member Function Documentation

void HttpDownloadManager::setServerUrl ( const QUrl &  serverUrl  ) 

Sets the url of the server to download from.

Definition at line 56 of file HttpDownloadManager.cpp.

void HttpDownloadManager::setJobQueueLimit ( int  jobQueueLimit  ) 

Sets the limit of jobs to be queued.

Definition at line 61 of file HttpDownloadManager.cpp.

void HttpDownloadManager::setActivatedJobsLimit ( int  activatedJobsLimit  ) 

Sets the limit of active jobs.

Definition at line 66 of file HttpDownloadManager.cpp.

void HttpDownloadManager::addJob ( const QString &  relativeUrlString,
const QString &  id 
) [slot]

Adds a new job with the relative url and the given id.

Definition at line 71 of file HttpDownloadManager.cpp.

void HttpDownloadManager::addJob ( const QString &  server,
const QString &  relativeUrlString,
const QString &  id 
) [slot]

Adds a new job with a server, relative url and given id.

Definition at line 93 of file HttpDownloadManager.cpp.

void HttpDownloadManager::removeJob ( HttpJob *  job  )  [slot]

Removes the job from the manager.

Definition at line 153 of file HttpDownloadManager.cpp.

void HttpDownloadManager::downloadComplete ( QString  ,
QString   
) [signal]

void HttpDownloadManager::statusMessage ( QString   )  [signal]


Friends And Related Function Documentation

friend class HttpJob [friend]

Definition at line 44 of file HttpDownloadManager.h.


The documentation for this class was generated from the following files:
  • HttpDownloadManager.h
  • HttpDownloadManager.cpp

marble/src

Skip menu "marble/src"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal