class UIServer
|
Graphical server for progress information with an optional all-in-one progress window.
More... |
|
|
Public Methods
- UIServer ()
- virtual ~UIServer ()
- int newJob ( QCString appId, bool showProgress )
- 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 KIO::AuthInfo &info )
- 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 )
- ProgressItem* findItem ( int id )
- void closeEvent ( QCloseEvent * )
- void setItemVisible ( ProgressItem * item, bool visible )
- void readSettings ()
- void writeSettings ()
- void killJob ( QCString observerAppId, int progressId )
Protected Methods
- UIServer ()
- virtual ~UIServer ()
- int newJob ( QCString appId, bool showProgress )
- 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 KIO::AuthInfo &info )
- 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 )
- ProgressItem* findItem ( int id )
- void closeEvent ( QCloseEvent * )
- void setItemVisible ( ProgressItem * item, bool visible )
- void readSettings ()
- void writeSettings ()
- void killJob ( QCString observerAppId, int progressId )
Protected Slots
Protected Members
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]
int newJob ( QCString appId, bool showProgress )
|
[k_dcop:
]
Signal a new job
Parameters:
the | DCOP application id of the job's parent application
|
showProgress | whether to popup the progress for the job.
Usually true, but may be false when we use kio_uiserver for
other things, like SSL dialogs.
|
Returns: the job id
See also: KIO::Observer::newJob
ASYNC jobFinished ( int id )
|
[k_dcop:
]
ASYNC totalSize ( int id, unsigned long size )
|
[k_dcop:
]
ASYNC totalFiles ( int id, unsigned long files )
|
[k_dcop:
]
ASYNC totalDirs ( int id, unsigned long dirs )
|
[k_dcop:
]
ASYNC processedSize ( int id, unsigned long bytes )
|
[k_dcop:
]
ASYNC processedFiles ( int id, unsigned long files )
|
[k_dcop:
]
ASYNC processedDirs ( int id, unsigned long dirs )
|
[k_dcop:
]
ASYNC percent ( int id, unsigned long ipercent )
|
[k_dcop:
]
ASYNC speed ( int id, unsigned long bytes_per_second )
|
[k_dcop:
]
ASYNC infoMessage ( int id, const QString & msg )
|
[k_dcop:
]
ASYNC copying ( int id, KURL from, KURL to )
|
[k_dcop:
]
ASYNC moving ( int id, KURL from, KURL to )
|
[k_dcop:
]
ASYNC deleting ( int id, KURL url )
|
[k_dcop:
]
ASYNC creatingDir ( int id, KURL dir )
|
[k_dcop:
]
ASYNC stating ( int id, KURL url )
|
[k_dcop:
]
[k_dcop:
]
ASYNC unmounting ( int id, QString point )
|
[k_dcop:
]
ASYNC canResume ( int id, unsigned long offset )
|
[k_dcop:
]
[k_dcop:
]
Prompts the user for authorization info.
Parameters:
info | See AuthInfo in kio/global.cpp.
|
Returns: a modified and seralized authorization info object.
[k_dcop:
]
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 )
|
[k_dcop:
]
See renamedlg.h
Returns: serialized answer: (RenameDlg_Result result, QString newDest)
int open_SkipDlg ( int id, int multi, const QString & error_text )
|
[k_dcop:
]
See skiplg.h
void setListMode ( bool list )
|
[k_dcop:
]
Switch to or from list mode - called by the kcontrol module
[protected slots:
slot]
[protected slots:
slot]
void slotToggleDefaultProgress ( QListViewItem * )
|
[protected slots:
slot]
[protected slots:
slot]
[protected slots:
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: marc@yogi on Tue Mar 27 13:07:59 2001, using kdoc 2.0a48.