class UIServer

Graphical server for progress information with an optional all-in-one progress window. More...

Internal Use Only
Definition#include <uiserver.h>
InheritsDCOPObject (dcop), KMainWindow (kdeui)
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

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 ).

 UIServer ()

UIServer ()

[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  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 )

Prompts the user for authorization information ( login & password ).

Parameters:

Returns: serialized autorization info: (bool authorized, QString user, QString password)

int  messageBox ( int id, int type, const QString &text, const QString &caption, const QString &buttonYes, const QString &buttonNo )

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

void  slotUpdate ()

[protected slot]

void  cancelCurrent ()

[protected slot]

void  slotToggleDefaultProgress ( QListViewItem * )

[protected slot]

void  slotSelection ()

[protected slot]

void  slotJobCanceled ( ProgressItem * )

[protected slot]

ProgressItem*  findItem ( int id )

[protected]

void  closeEvent ( QCloseEvent * )

[protected]

Reimplemented from KMainWindow.

void  setItemVisible ( ProgressItem * item, bool visible )

[protected]

QTimer* updateTimer

[protected]

ListProgress* listProgress

[protected]

KToolBar::BarPosition toolbarPos

[protected]

QString properties

[protected]

void  readSettings ()

[protected]

void  writeSettings ()

[protected]