class UIServer
|
Graphical server for progress information with an optional all-in-one progress window.
More... |
|
|
Public Methods
- UIServer ()
- virtual ~ UIServer ()
- ASYNC jobFinished ( int id )
- ASYNC totalSize ( int id, unsigned long size )
- ASYNC totalFiles ( int id, unsigned long files )
- ASYNC totalDirs ( int id, unsigned long dirs )
- ASYNC processedSize ( int id, unsigned long bytes )
- ASYNC processedFiles ( int id, unsigned long files )
- ASYNC processedDirs ( int id, unsigned long dirs )
- ASYNC percent ( int id, unsigned long ipercent )
- ASYNC speed ( int id, unsigned long bytes_per_second )
- ASYNC infoMessage ( int id, const QString & msg )
- ASYNC copying ( int id, KURL from, KURL to )
- ASYNC moving ( int id, KURL from, KURL to )
- ASYNC deleting ( int id, KURL url )
- ASYNC creatingDir ( int id, KURL dir )
- ASYNC stating ( int id, KURL url )
- ASYNC mounting ( int id, QString dev, QString point )
- ASYNC unmounting ( int id, QString point )
- ASYNC canResume ( int id, unsigned long offset )
- QByteArray openPassDlg ( const QString& msg, const QString& user, bool lockUserName )
- int messageBox ( int id, int type, const QString &text, const QString &caption, const QString &buttonYes, const QString &buttonNo )
- QByteArray open_RenameDlg ( int id, const QString & caption, const QString& src, const QString & dest, int mode, unsigned long sizeSrc, unsigned long sizeDest, unsigned long ctimeSrc, unsigned long ctimeDest, unsigned long mtimeSrc, unsigned long mtimeDest )
- int open_SkipDlg ( int id, int multi, const QString & error_text )
- void setListMode ( bool list )
Protected Methods
Protected Slots
Protected Members
Detailed Description
It's purpose is to show progress of IO operations.
There is only one instance of this window for all jobs.
All IO operations ( jobs ) are displayed in this window, one line per operation.
User can cancel operations with Cancel button on toolbar.
Double clicking an item in the list opens a small download window ( DefaultProgress ).
[virtual]
ASYNC jobFinished ( int id )
|
ASYNC totalSize ( int id, unsigned long size )
|
ASYNC totalFiles ( int id, unsigned long files )
|
ASYNC totalDirs ( int id, unsigned long dirs )
|
ASYNC processedSize ( int id, unsigned long bytes )
|
ASYNC processedFiles ( int id, unsigned long files )
|
ASYNC processedDirs ( int id, unsigned long dirs )
|
ASYNC percent ( int id, unsigned long ipercent )
|
ASYNC speed ( int id, unsigned long bytes_per_second )
|
ASYNC infoMessage ( int id, const QString & msg )
|
ASYNC copying ( int id, KURL from, KURL to )
|
ASYNC moving ( int id, KURL from, KURL to )
|
ASYNC deleting ( int id, KURL url )
|
ASYNC creatingDir ( int id, KURL dir )
|
ASYNC stating ( int id, KURL url )
|
ASYNC unmounting ( int id, QString point )
|
ASYNC canResume ( int id, unsigned long offset )
|
QByteArray openPassDlg ( const QString& msg, const QString& user, bool lockUserName )
|
Prompts the user for authorization information ( login & password ).
Parameters:
| |
Returns: serialized autorization info: (bool authorized, QString user, QString password)
Popup a message box
QByteArray open_RenameDlg ( int id, const QString & caption, const QString& src, const QString & dest, int mode, unsigned long sizeSrc, unsigned long sizeDest, unsigned long ctimeSrc, unsigned long ctimeDest, unsigned long mtimeSrc, unsigned long mtimeDest )
|
See renamedlg.h
Returns: serialized answer: (RenameDlg_Result result, QString newDest)
int open_SkipDlg ( int id, int multi, const QString & error_text )
|
See skiplg.h
void setListMode ( bool list )
|
Switch to or from list mode - called by the kcontrol module
[protected slot]
[protected slot]
[protected slot]
[protected slot]
[protected slot]
[protected]
void closeEvent ( QCloseEvent * )
|
[protected]
Reimplemented from KMainWindow.
[protected]
[protected]
[protected]
KToolBar::BarPosition toolbarPos
|
[protected]
[protected]
[protected]
[protected]
- Author: Matej Koss <koss@miesto.sk>
- Generated: baudens@ke.mandrakesoft.com on Thu Oct 26 17:36:34 2000, using kdoc 2.0a40.