class SlaveInterface

There are two classes that specifies the protocol between application (job) and kioslave. More...

Full nameKIO::SlaveInterface
Definition#include <slaveinterface.h>
InheritsQObject (kdecore)
Inherited bySlave
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Signals

Protected Methods

Protected Static Methods

Protected Members


Detailed Description

There are two classes that specifies the protocol between application (job) and kioslave. SlaveInterface is the class to use on the application end, SlaveBase is the one to use on the slave end.

A call to foo() results in a call to slotFoo() on the other end.

 SlaveInterface ( Connection *connection )

SlaveInterface ()

[virtual]

void  setConnection ( Connection* connection )

Connection * connection ()

[const]

void  data ( const QByteArray & )

[signal]

void  dataReq ( )

[signal]

void  error ( int , const QString & )

[signal]

void  connected ()

[signal]

void  finished ()

[signal]

void  slaveStatus (pid_t, const QCString &, const QString &, bool)

[signal]

void  listEntries ( const KIO::UDSEntryList& )

[signal]

void  statEntry ( const KIO::UDSEntry& )

[signal]

void  needSubURLData ()

[signal]

void  canResume ( bool )

[signal]

void  metaData ( const KIO::MetaData &)

[signal]

void  totalSize ( unsigned long )

[signal]

void  processedSize ( unsigned long )

[signal]

void  redirection ( const KURL& )

[signal]

void  speed ( unsigned long )

[signal]

void  errorPage ()

[signal]

void  mimeType ( const QString & )

[signal]

void  warning ( const QString & )

[signal]

void  gettingFile ( const QString & )

[signal]

void  infoMessage ( const QString & )

[signal]

void  connectFinished ()

[signal]

bool  dispatch ()

[protected virtual]

void  dispatch ( int _cmd, const QByteArray &data )

[protected virtual]

void  openPassDlg ( const QString& , const QString& , const QString& , const QString& = QString::null )

[protected]

Call this when requesting for a login and password.

This function is only different from the above only because it takes one more extra argument, the name of the host, so that any authorization can kept around for a whole session.

Parameters:
headand i18n'ed message to explain the dialog box
useruser name, in and out
passpassword, in and out
keythe string to be used to cache the password.

Returns: true on ok, false on cancel

void  requestNetwork ( const QString &, const QString &)

[protected]

void  dropNetwork ( const QString &, const QString &)

[protected]

void  sigpipe_handler (int)

[protected static]

Connection * m_pConnection

[protected]


Generated by: prospector@porky.devel.redhat.com on Thu Aug 24 05:36:06 2000, using kdoc 2.0a36.