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) [public ], KMainWindow (kdeui) [public ]
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

 ~UIServer ()

~UIServer

[virtual]

int  newJob ( QCString appId, bool showProgress )

newJob

[k_dcop: ]

Signal a new job

Parameters:
theDCOP application id of the job's parent application (@see KIO::Observer::newJob)
showProgresswhether 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

QByteArray  openPassDlg ( const QString& msg, const QString& user, bool lockUserName )

openPassDlg

[k_dcop: ]

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

Parameters:
msgthe resource the requires authorization
userthe username to be authenticated
lockUserNameenables/disables the username field

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 )

messageBox

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

open_RenameDlg

[k_dcop: ]

See renamedlg.h

Returns: serialized answer: (RenameDlg_Result result, QString newDest)

int  open_SkipDlg ( int id, int multi, const QString & error_text )

open_SkipDlg

[k_dcop: ]

See skiplg.h

void  setListMode ( bool list )

setListMode

[k_dcop: ]

Switch to or from list mode - called by the kcontrol module

void  slotUpdate ()

slotUpdate

[protected slots: slot]

void  cancelCurrent ()

cancelCurrent

[protected slots: slot]

void  slotToggleDefaultProgress ( QListViewItem * )

slotToggleDefaultProgress

[protected slots: slot]

void  slotSelection ()

slotSelection

[protected slots: slot]

void  slotJobCanceled ( ProgressItem * )

slotJobCanceled

[protected slots: slot]

ProgressItem*  findItem ( int id )

findItem

[protected: ]

void  closeEvent ( QCloseEvent * )

closeEvent

[protected: ]

Reimplemented from KMainWindow.

void  setItemVisible ( ProgressItem * item, bool visible )

setItemVisible

[protected: ]

QTimer* updateTimer

updateTimer

[protected: ]

ListProgress* listProgress

listProgress

[protected: ]

KToolBar::BarPosition toolbarPos

toolbarPos

[protected: ]

QString properties

properties

[protected: ]

void  readSettings ()

readSettings

[protected: ]

void  writeSettings ()

writeSettings

[protected: ]