#include <statusbarprogress.h>

Public Slots | |
virtual void | slotClean () |
virtual void | slotTotalSize (TDEIO::Job *job, TDEIO::filesize_t size) |
virtual void | slotPercent (TDEIO::Job *job, unsigned long percent) |
virtual void | slotSpeed (TDEIO::Job *job, unsigned long speed) |
![]() | |
void | slotStop () |
virtual void | slotClean () |
virtual void | slotTotalSize (TDEIO::Job *job, TDEIO::filesize_t size) |
virtual void | slotTotalFiles (TDEIO::Job *job, unsigned long files) |
virtual void | slotTotalDirs (TDEIO::Job *job, unsigned long dirs) |
virtual void | slotProcessedSize (TDEIO::Job *job, TDEIO::filesize_t bytes) |
virtual void | slotProcessedFiles (TDEIO::Job *job, unsigned long files) |
virtual void | slotProcessedDirs (TDEIO::Job *job, unsigned long dirs) |
virtual void | slotSpeed (TDEIO::Job *job, unsigned long speed) |
virtual void | slotPercent (TDEIO::Job *job, unsigned long percent) |
virtual void | slotCopying (TDEIO::Job *job, const KURL &src, const KURL &dest) |
virtual void | slotMoving (TDEIO::Job *job, const KURL &src, const KURL &dest) |
virtual void | slotDeleting (TDEIO::Job *job, const KURL &url) |
virtual void | slotCreatingDir (TDEIO::Job *job, const KURL &dir) |
virtual void | slotCanResume (TDEIO::Job *job, TDEIO::filesize_t from) |
Public Member Functions | |
StatusbarProgress (TQWidget *parent, bool button=true) | |
void | setJob (TDEIO::Job *job) |
![]() | |
ProgressBase (TQWidget *parent) | |
void | setJob (TDEIO::Job *job) |
void | setJob (TDEIO::CopyJob *job) |
void | setJob (TDEIO::DeleteJob *job) |
void | setStopOnClose (bool stopOnClose) |
bool | stopOnClose () const |
void | setOnlyClean (bool onlyClean) |
bool | onlyClean () const |
void | finished () |
Protected Types | |
enum | Mode { None , Label , Progress } |
Protected Member Functions | |
void | setMode () |
virtual bool | eventFilter (TQObject *, TQEvent *) |
virtual void | virtual_hook (int id, void *data) |
![]() | |
virtual void | closeEvent (TQCloseEvent *) |
virtual void | virtual_hook (int id, void *data) |
Protected Attributes | |
KProgress * | m_pProgressBar |
TQLabel * | m_pLabel |
TQPushButton * | m_pButton |
TDEIO::filesize_t | m_iTotalSize |
uint | mode |
bool | m_bShowButton |
TQBoxLayout * | box |
TQWidgetStack * | stack |
![]() | |
TDEIO::Job * | m_pJob |
Additional Inherited Members | |
![]() | |
void | stopped () |
![]() | |
void | slotFinished (TDEIO::Job *) |
Detailed Description
This is a special IO progress widget.
Similarly to DefaultProgress, it's purpose is to show a progress of the IO operation.
Instead of creating a separate window, this is only a widget that can be easily embedded in a statusbar.
Usage of StatusbarProgress is little different. This dialog will be a part of some application.
IO progress widget for embedding in a statusbar.
Definition at line 60 of file statusbarprogress.h.
Member Enumeration Documentation
◆ Mode
|
protected |
Definition at line 94 of file statusbarprogress.h.
Constructor & Destructor Documentation
◆ StatusbarProgress()
TDEIO::StatusbarProgress::StatusbarProgress | ( | TQWidget * | parent, |
bool | button = true |
||
) |
Creates a new StatusbarProgress.
- Parameters
-
parent the parent of this widget button true to add an abort button. The button will be connected to ProgressBase::slotStop()
Definition at line 35 of file statusbarprogress.cpp.
◆ ~StatusbarProgress()
|
inline |
Definition at line 73 of file statusbarprogress.h.
Member Function Documentation
◆ eventFilter()
|
protectedvirtual |
Definition at line 139 of file statusbarprogress.cpp.
◆ setJob()
void TDEIO::StatusbarProgress::setJob | ( | TDEIO::Job * | job | ) |
Sets the job to monitor.
- Parameters
-
job the job to monitor
Definition at line 74 of file statusbarprogress.cpp.
◆ setMode()
|
protected |
Definition at line 83 of file statusbarprogress.cpp.
◆ slotClean
|
virtualslot |
Definition at line 111 of file statusbarprogress.cpp.
◆ slotPercent
|
virtualslot |
Definition at line 125 of file statusbarprogress.cpp.
◆ slotSpeed
|
virtualslot |
Definition at line 130 of file statusbarprogress.cpp.
◆ slotTotalSize
|
virtualslot |
Definition at line 121 of file statusbarprogress.cpp.
◆ virtual_hook()
|
protectedvirtual |
Reimplemented from TDEIO::ProgressBase.
Definition at line 162 of file statusbarprogress.cpp.
Member Data Documentation
◆ box
|
protected |
Definition at line 102 of file statusbarprogress.h.
◆ m_bShowButton
|
protected |
Definition at line 97 of file statusbarprogress.h.
◆ m_iTotalSize
|
protected |
Definition at line 92 of file statusbarprogress.h.
◆ m_pButton
|
protected |
Definition at line 90 of file statusbarprogress.h.
◆ m_pLabel
|
protected |
Definition at line 89 of file statusbarprogress.h.
◆ m_pProgressBar
|
protected |
Definition at line 88 of file statusbarprogress.h.
◆ mode
|
protected |
Definition at line 96 of file statusbarprogress.h.
◆ stack
|
protected |
Definition at line 103 of file statusbarprogress.h.
The documentation for this class was generated from the following files: