KIO::DefaultProgress Class Reference
Inheritance diagram for KIO::DefaultProgress:

Detailed Description
Definition at line 37 of file defaultprogress.h.
Public Slots | |
virtual void | slotTotalSize (KIO::Job *job, KIO::filesize_t size) |
virtual void | slotTotalFiles (KIO::Job *job, unsigned long files) |
virtual void | slotTotalDirs (KIO::Job *job, unsigned long dirs) |
virtual void | slotProcessedSize (KIO::Job *job, KIO::filesize_t bytes) |
virtual void | slotProcessedFiles (KIO::Job *job, unsigned long files) |
virtual void | slotProcessedDirs (KIO::Job *job, unsigned long dirs) |
virtual void | slotSpeed (KIO::Job *job, unsigned long speed) |
virtual void | slotPercent (KIO::Job *job, unsigned long percent) |
virtual void | slotInfoMessage (KIO::Job *job, const QString &msg) |
virtual void | slotCopying (KIO::Job *job, const KURL &src, const KURL &dest) |
virtual void | slotMoving (KIO::Job *job, const KURL &src, const KURL &dest) |
virtual void | slotDeleting (KIO::Job *job, const KURL &url) |
void | slotTransferring (KIO::Job *job, const KURL &url) |
virtual void | slotCreatingDir (KIO::Job *job, const KURL &dir) |
virtual void | slotStating (KIO::Job *job, const KURL &dir) |
virtual void | slotMounting (KIO::Job *job, const QString &dev, const QString &point) |
virtual void | slotUnmounting (KIO::Job *job, const QString &point) |
virtual void | slotCanResume (KIO::Job *job, KIO::filesize_t from) |
void | slotClean () |
Public Member Functions | |
DefaultProgress (bool showNow=true) | |
DefaultProgress (QWidget *parent, const char *name=0) | |
~DefaultProgress () | |
bool | keepOpen () const |
Static Public Member Functions | |
static QString | makePercentString (unsigned long percent, KIO::filesize_t totalSize, unsigned long totalFiles) |
Protected Types | |
enum | ModeType { Copy, Move, Delete, Create, Done } |
Protected Member Functions | |
void | init () |
void | showTotals () |
void | setDestVisible (bool visible) |
void | checkDestination (const KURL &dest) |
virtual void | virtual_hook (int id, void *data) |
Protected Attributes | |
KLineEdit * | sourceEdit |
KLineEdit * | destEdit |
QLabel * | progressLabel |
QLabel * | destInvite |
QLabel * | speedLabel |
QLabel * | sizeLabel |
QLabel * | resumeLabel |
KProgress * | m_pProgressBar |
KIO::filesize_t | m_iTotalSize |
unsigned long | m_iTotalFiles |
unsigned long | m_iTotalDirs |
KIO::filesize_t | m_iProcessedSize |
unsigned long | m_iProcessedDirs |
unsigned long | m_iProcessedFiles |
ModeType | mode |
Constructor & Destructor Documentation
|
Creates a new default progress dialog.
Definition at line 60 of file defaultprogress.cpp. |
|
Creates a new default progress dialog.
Definition at line 72 of file defaultprogress.cpp. |
Member Function Documentation
|
Definition at line 469 of file defaultprogress.cpp. |
|
Definition at line 85 of file defaultprogress.cpp. |
|
Shared with uiserver.cpp.
Definition at line 234 of file defaultprogress.cpp. |
|
Called when the job is resuming.
Reimplemented from KIO::ProgressBase. Definition at line 415 of file defaultprogress.cpp. |
|
Called when the job is cleaned.
Reimplemented from KIO::ProgressBase. Definition at line 444 of file defaultprogress.cpp. |
|
Called when the job is copying.
Reimplemented from KIO::ProgressBase. Definition at line 333 of file defaultprogress.cpp. |
|
Called when the job is creating a directory.
Reimplemented from KIO::ProgressBase. Definition at line 361 of file defaultprogress.cpp. |
|
Called when the job is deleting.
Reimplemented from KIO::ProgressBase. Definition at line 373 of file defaultprogress.cpp. |
|
Called to set an information message.
Definition at line 273 of file defaultprogress.cpp. |
|
Called when the job is mounting.
Definition at line 401 of file defaultprogress.cpp. |
|
Called when the job is moving.
Reimplemented from KIO::ProgressBase. Definition at line 347 of file defaultprogress.cpp. |
|
Called to set the percentage.
Reimplemented from KIO::ProgressBase. Definition at line 246 of file defaultprogress.cpp. |
|
Called to set the number of processed directories.
Reimplemented from KIO::ProgressBase. Definition at line 292 of file defaultprogress.cpp. |
|
Called to set the number of processed files.
Reimplemented from KIO::ProgressBase. Definition at line 306 of file defaultprogress.cpp. |
|
Called to set the processed size.
Reimplemented from KIO::ProgressBase. Definition at line 280 of file defaultprogress.cpp. |
|
Called to set the speed.
Reimplemented from KIO::ProgressBase. Definition at line 322 of file defaultprogress.cpp. |
|
Called when the job is requesting a stat.
Definition at line 394 of file defaultprogress.cpp. |
|
Called to set the total number of directories.
Reimplemented from KIO::ProgressBase. Definition at line 207 of file defaultprogress.cpp. |
|
Called to set the total number of files.
Reimplemented from KIO::ProgressBase. Definition at line 198 of file defaultprogress.cpp. |
|
Called to set the total size.
Reimplemented from KIO::ProgressBase. Definition at line 187 of file defaultprogress.cpp. |
|
Called when the job is transferring.
Definition at line 384 of file defaultprogress.cpp. |
|
Called when the job is unmounting.
Definition at line 408 of file defaultprogress.cpp. |
The documentation for this class was generated from the following files: