kio
ProgressItem Class Reference
One item in the ListProgress. More...
#include <uiserver.h>
Public Slots | |
void | slotShowDefaultProgress () |
void | slotToggleDefaultProgress () |
Signals | |
void | jobCanceled (ProgressItem *) |
Public Member Functions | |
QCString | appId () |
void | finished () |
const QString & | fullLengthAddress () const |
bool | isVisible () const |
int | jobId () |
bool | keepOpen () const |
unsigned long | processedFiles () |
KIO::filesize_t | processedSize () |
ProgressItem (ListProgress *view, QListViewItem *after, QCString app_id, int job_id, bool showDefault=true) | |
unsigned int | remainingSeconds () |
void | setCanResume (KIO::filesize_t offset) |
void | setCopying (const KURL &from, const KURL &to) |
void | setCreatingDir (const KURL &dir) |
void | setDefaultProgressVisible (bool visible) |
void | setDeleting (const KURL &url) |
void | setInfoMessage (const QString &msg) |
void | setMounting (const QString &dev, const QString &point) |
void | setMoving (const KURL &from, const KURL &to) |
void | setPercent (unsigned long percent) |
void | setProcessedDirs (unsigned long dirs) |
void | setProcessedFiles (unsigned long files) |
void | setProcessedSize (KIO::filesize_t size) |
void | setSpeed (unsigned long bytes_per_second) |
void | setStating (const KURL &url) |
void | setText (ListProgress::ListProgressFields field, const QString &text) |
void | setTotalDirs (unsigned long dirs) |
void | setTotalFiles (unsigned long files) |
void | setTotalSize (KIO::filesize_t bytes) |
void | setTransferring (const KURL &url) |
void | setUnmounting (const QString &point) |
void | setVisible (bool visible) |
unsigned long | speed () |
unsigned long | totalFiles () |
KIO::filesize_t | totalSize () |
~ProgressItem () | |
Protected Slots | |
void | slotCanceled () |
Protected Member Functions | |
void | updateVisibility () |
Protected Attributes | |
KIO::DefaultProgress * | defaultProgress |
ListProgress * | listProgress |
bool | m_defaultProgressVisible |
QString | m_fullLengthAddress |
int | m_iJobId |
unsigned long | m_iProcessedFiles |
KIO::filesize_t | m_iProcessedSize |
unsigned long | m_iSpeed |
unsigned long | m_iTotalFiles |
KIO::filesize_t | m_iTotalSize |
int | m_remainingSeconds |
QCString | m_sAppId |
QTimer | m_showTimer |
bool | m_visible |
Detailed Description
One item in the ListProgress.
For internal use only.
Definition at line 106 of file uiserver.h.
Constructor & Destructor Documentation
ProgressItem::ProgressItem | ( | ListProgress * | view, | |
QListViewItem * | after, | |||
QCString | app_id, | |||
int | job_id, | |||
bool | showDefault = true | |||
) |
Definition at line 177 of file uiserver.cpp.
ProgressItem::~ProgressItem | ( | ) |
Definition at line 215 of file uiserver.cpp.
Member Function Documentation
QCString ProgressItem::appId | ( | ) | [inline] |
Definition at line 115 of file uiserver.h.
void ProgressItem::finished | ( | ) |
Definition at line 210 of file uiserver.cpp.
const QString& ProgressItem::fullLengthAddress | ( | ) | const [inline] |
Definition at line 155 of file uiserver.h.
bool ProgressItem::isVisible | ( | ) | const [inline] |
void ProgressItem::jobCanceled | ( | ProgressItem * | ) | [signal] |
int ProgressItem::jobId | ( | ) | [inline] |
Definition at line 116 of file uiserver.h.
bool ProgressItem::keepOpen | ( | ) | const |
Definition at line 205 of file uiserver.cpp.
unsigned long ProgressItem::processedFiles | ( | ) | [inline] |
Definition at line 151 of file uiserver.h.
KIO::filesize_t ProgressItem::processedSize | ( | ) | [inline] |
Definition at line 150 of file uiserver.h.
unsigned int ProgressItem::remainingSeconds | ( | ) | [inline] |
Definition at line 153 of file uiserver.h.
void ProgressItem::setCanResume | ( | KIO::filesize_t | offset | ) |
Definition at line 385 of file uiserver.cpp.
void ProgressItem::setCopying | ( | const KURL & | from, | |
const KURL & | to | |||
) |
Definition at line 301 of file uiserver.cpp.
void ProgressItem::setCreatingDir | ( | const KURL & | dir | ) |
Definition at line 319 of file uiserver.cpp.
void ProgressItem::setDefaultProgressVisible | ( | bool | visible | ) |
Definition at line 430 of file uiserver.cpp.
void ProgressItem::setDeleting | ( | const KURL & | url | ) |
Definition at line 328 of file uiserver.cpp.
void ProgressItem::setInfoMessage | ( | const QString & | msg | ) |
Definition at line 273 of file uiserver.cpp.
Definition at line 369 of file uiserver.cpp.
void ProgressItem::setMoving | ( | const KURL & | from, | |
const KURL & | to | |||
) |
Definition at line 310 of file uiserver.cpp.
void ProgressItem::setPercent | ( | unsigned long | percent | ) |
Definition at line 266 of file uiserver.cpp.
void ProgressItem::setProcessedDirs | ( | unsigned long | dirs | ) |
Definition at line 261 of file uiserver.cpp.
void ProgressItem::setProcessedFiles | ( | unsigned long | files | ) |
Definition at line 251 of file uiserver.cpp.
void ProgressItem::setProcessedSize | ( | KIO::filesize_t | size | ) |
Definition at line 242 of file uiserver.cpp.
void ProgressItem::setSpeed | ( | unsigned long | bytes_per_second | ) |
Definition at line 282 of file uiserver.cpp.
void ProgressItem::setStating | ( | const KURL & | url | ) |
Definition at line 361 of file uiserver.cpp.
void ProgressItem::setText | ( | ListProgress::ListProgressFields | field, | |
const QString & | text | |||
) |
Definition at line 344 of file uiserver.cpp.
void ProgressItem::setTotalDirs | ( | unsigned long | dirs | ) |
Definition at line 237 of file uiserver.cpp.
void ProgressItem::setTotalFiles | ( | unsigned long | files | ) |
Definition at line 230 of file uiserver.cpp.
void ProgressItem::setTotalSize | ( | KIO::filesize_t | bytes | ) |
Definition at line 220 of file uiserver.cpp.
void ProgressItem::setTransferring | ( | const KURL & | url | ) |
Definition at line 336 of file uiserver.cpp.
void ProgressItem::setUnmounting | ( | const QString & | point | ) |
Definition at line 377 of file uiserver.cpp.
void ProgressItem::setVisible | ( | bool | visible | ) |
void ProgressItem::slotCanceled | ( | ) | [protected, slot] |
Definition at line 400 of file uiserver.cpp.
void ProgressItem::slotShowDefaultProgress | ( | ) | [slot] |
Definition at line 405 of file uiserver.cpp.
void ProgressItem::slotToggleDefaultProgress | ( | ) | [slot] |
Definition at line 415 of file uiserver.cpp.
unsigned long ProgressItem::speed | ( | ) | [inline] |
Definition at line 152 of file uiserver.h.
unsigned long ProgressItem::totalFiles | ( | ) | [inline] |
Definition at line 149 of file uiserver.h.
KIO::filesize_t ProgressItem::totalSize | ( | ) | [inline] |
Definition at line 148 of file uiserver.h.
void ProgressItem::updateVisibility | ( | ) | [protected] |
Definition at line 439 of file uiserver.cpp.
Member Data Documentation
KIO::DefaultProgress* ProgressItem::defaultProgress [protected] |
Definition at line 182 of file uiserver.h.
ListProgress* ProgressItem::listProgress [protected] |
Definition at line 179 of file uiserver.h.
bool ProgressItem::m_defaultProgressVisible [protected] |
Definition at line 176 of file uiserver.h.
QString ProgressItem::m_fullLengthAddress [protected] |
Definition at line 192 of file uiserver.h.
int ProgressItem::m_iJobId [protected] |
Definition at line 172 of file uiserver.h.
unsigned long ProgressItem::m_iProcessedFiles [protected] |
Definition at line 188 of file uiserver.h.
KIO::filesize_t ProgressItem::m_iProcessedSize [protected] |
Definition at line 187 of file uiserver.h.
unsigned long ProgressItem::m_iSpeed [protected] |
Definition at line 189 of file uiserver.h.
unsigned long ProgressItem::m_iTotalFiles [protected] |
Definition at line 186 of file uiserver.h.
KIO::filesize_t ProgressItem::m_iTotalSize [protected] |
Definition at line 185 of file uiserver.h.
int ProgressItem::m_remainingSeconds [protected] |
Definition at line 190 of file uiserver.h.
QCString ProgressItem::m_sAppId [protected] |
Definition at line 171 of file uiserver.h.
QTimer ProgressItem::m_showTimer [protected] |
Definition at line 191 of file uiserver.h.
bool ProgressItem::m_visible [protected] |
Definition at line 175 of file uiserver.h.
The documentation for this class was generated from the following files: