Noatun API Documentation

DownloadItem Class Reference

#include <downloader.h>

List of all members.

Public Member Functions

bool isDownloaded () const
QString localFilename () const
virtual void setLocalFilename (const QString &filename)
virtual void downloadFinished ()
virtual void downloaded (int percent)
virtual void downloadTimeout ()
bool enqueue (const KURL &url)
void dequeue ()


Detailed Description

Item to download, usually queued up in Downloader

Definition at line 22 of file downloader.h.


Member Function Documentation

void DownloadItem::dequeue  ) 
 

Remove this item from Downloader queue

virtual void DownloadItem::downloaded int  percent  )  [virtual]
 

Called at regular intervals while downloading this item

virtual void DownloadItem::downloadFinished  )  [virtual]
 

Called if this item has been fully downloaded

virtual void DownloadItem::downloadTimeout  )  [virtual]
 

Called when downloading this item timed out

bool DownloadItem::enqueue const KURL &  url  ) 
 

Returns:
true if the download was scheduled, false if the file is local

QString DownloadItem::localFilename  )  const
 

Returns:
the local filename this item will be saved to


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for Noatun 2.6.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 21 23:49:46 2004 by doxygen 1.3.8-20040913 written by Dimitri van Heesch, © 1997-2003