class SlaveInterface

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

Full nameKIO::SlaveInterface
Definition#include <slaveinterface.h>
InheritsQObject (qt) [public ]
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

 ~SlaveInterface ()

~SlaveInterface

[virtual]

void  setConnection ( Connection* connection )

setConnection

Connection * connection ()

connection

[const]

void  setProgressId ( int id )

setProgressId

int  progressId ()

progressId

[const]

void  sendResumeAnswer ( bool resume )

sendResumeAnswer

void  data ( const QByteArray & )

data

[signal]

void  dataReq ( )

dataReq

[signal]

void  error ( int , const QString & )

error

[signal]

void  connected ()

connected

[signal]

void  finished ()

finished

[signal]

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

slaveStatus

[signal]

void  listEntries ( const KIO::UDSEntryList& )

listEntries

[signal]

void  statEntry ( const KIO::UDSEntry& )

statEntry

[signal]

void  needSubURLData ()

needSubURLData

[signal]

void  needProgressId ()

needProgressId

[signal]

void  canResume ( unsigned long )

canResume

[signal]

void  metaData ( const KIO::MetaData &)

metaData

[signal]

void  totalSize ( unsigned long )

totalSize

[signal]

void  processedSize ( unsigned long )

processedSize

[signal]

void  redirection ( const KURL& )

redirection

[signal]

void  speed ( unsigned long )

speed

[signal]

void  errorPage ()

errorPage

[signal]

void  mimeType ( const QString & )

mimeType

[signal]

void  warning ( const QString & )

warning

[signal]

void  gettingFile ( const QString & )

gettingFile

[signal]

void  infoMessage ( const QString & )

infoMessage

[signal]

void  connectFinished ()

connectFinished

[signal]

bool  dispatch ()

dispatch

[protected: virtual]

void  dispatch ( int _cmd, const QByteArray &data )

dispatch

[protected: virtual]

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

openPassDlg

[protected: ]

Prompt user for authentication info (login & password).

Parameters:
msgi18n'ed message to explain the dialog box
useruser name if one is already supplied
lockUserNameenable/disable the username field

Returns: true if sucessfully, false otherwise

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

messageBox

[protected: ]

void  requestNetwork ( const QString &, const QString &)

requestNetwork

[protected: ]

void  dropNetwork ( const QString &, const QString &)

dropNetwork

[protected: ]

void  sigpipe_handler (int)

sigpipe_handler

[protected: static]

Connection * m_pConnection

m_pConnection

[protected: ]


Generated by: dfaure on Tue Feb 27 12:46:56 2001, using kdoc 2.0a50.