• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KIO

  • KIO
  • SlaveInterface
Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
KIO::SlaveInterface Class Reference

#include <slaveinterface.h>

Inheritance diagram for KIO::SlaveInterface:
Inheritance graph
[legend]

Signals

void canResume (KIO::filesize_t)
 
void connected ()
 
void data (const QByteArray &)
 
void dataReq ()
 
void error (int, const QString &)
 
void errorPage ()
 
void finished ()
 
void infoMessage (const QString &)
 
void listEntries (const KIO::UDSEntryList &)
 
void metaData (const KIO::MetaData &)
 
void mimeType (const QString &)
 
void needSubUrlData ()
 
void open ()
 
void position (KIO::filesize_t)
 
void processedSize (KIO::filesize_t)
 
void redirection (const KUrl &)
 
void slaveStatus (pid_t, const QByteArray &, const QString &, bool)
 
void speed (unsigned long)
 
void statEntry (const KIO::UDSEntry &)
 
void totalSize (KIO::filesize_t)
 
void warning (const QString &)
 
void written (KIO::filesize_t)
 

Public Member Functions

virtual ~SlaveInterface ()
 
Connection * connection () const
 
KIO::filesize_t offset () const
 
void sendMessageBoxAnswer (int result)
 
void sendResumeAnswer (bool resume)
 
void setConnection (Connection *connection)
 
void setOffset (KIO::filesize_t offset)
 
void setWindow (QWidget *window)
 
QWidget * window () const
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
virtual  ~QObject ()
 
bool blockSignals (bool block)
 
QObject * child (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
T findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThread * thread () const
 

Protected Slots

void calcSpeed ()
 

Protected Member Functions

 SlaveInterface (SlaveInterfacePrivate &dd, QObject *parent=0)
 
virtual bool dispatch ()
 
virtual bool dispatch (int _cmd, const QByteArray &data)
 
void dropNetwork (const QString &, const QString &)
 
void messageBox (int type, const QString &text, const QString &caption, const QString &buttonYes, const QString &buttonNo)
 
void messageBox (int type, const QString &text, const QString &caption, const QString &buttonYes, const QString &buttonNo, const QString &dontAskAgainName)
 
void requestNetwork (const QString &, const QString &)
 
- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 

Protected Attributes

SlaveInterfacePrivate *const d_ptr
 

Additional Inherited Members

- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Properties inherited from QObject
 objectName
 

Detailed Description

There are two classes that specifies the protocol between application ( KIO::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.

Definition at line 98 of file slaveinterface.h.

Constructor & Destructor Documentation

SlaveInterface::SlaveInterface ( SlaveInterfacePrivate &  dd,
QObject *  parent = 0 
)
protected

Definition at line 48 of file slaveinterface.cpp.

SlaveInterface::~SlaveInterface ( )
virtual

Definition at line 54 of file slaveinterface.cpp.

Member Function Documentation

void SlaveInterface::calcSpeed ( )
protectedslot

Definition at line 95 of file slaveinterface.cpp.

void KIO::SlaveInterface::canResume ( KIO::filesize_t  )
signal
void KIO::SlaveInterface::connected ( )
signal
Connection * SlaveInterface::connection ( ) const

Definition at line 67 of file slaveinterface.cpp.

void KIO::SlaveInterface::data ( const QByteArray &  )
signal
void KIO::SlaveInterface::dataReq ( )
signal
bool SlaveInterface::dispatch ( )
protectedvirtual

Definition at line 80 of file slaveinterface.cpp.

bool SlaveInterface::dispatch ( int  _cmd,
const QByteArray &  data 
)
protectedvirtual

Definition at line 150 of file slaveinterface.cpp.

void SlaveInterface::dropNetwork ( const QString &  host,
const QString &  slaveid 
)
protected

Definition at line 369 of file slaveinterface.cpp.

void KIO::SlaveInterface::error ( int  ,
const QString &   
)
signal
void KIO::SlaveInterface::errorPage ( )
signal
void KIO::SlaveInterface::finished ( )
signal
void KIO::SlaveInterface::infoMessage ( const QString &  )
signal
void KIO::SlaveInterface::listEntries ( const KIO::UDSEntryList &  )
signal
void SlaveInterface::messageBox ( int  type,
const QString &  text,
const QString &  caption,
const QString &  buttonYes,
const QString &  buttonNo 
)
protected

Definition at line 398 of file slaveinterface.cpp.

void SlaveInterface::messageBox ( int  type,
const QString &  text,
const QString &  caption,
const QString &  buttonYes,
const QString &  buttonNo,
const QString &  dontAskAgainName 
)
protected

Definition at line 404 of file slaveinterface.cpp.

void KIO::SlaveInterface::metaData ( const KIO::MetaData &  )
signal
void KIO::SlaveInterface::mimeType ( const QString &  )
signal
void KIO::SlaveInterface::needSubUrlData ( )
signal
KIO::filesize_t SlaveInterface::offset ( ) const

Definition at line 353 of file slaveinterface.cpp.

void KIO::SlaveInterface::open ( )
signal
void KIO::SlaveInterface::position ( KIO::filesize_t  )
signal
void KIO::SlaveInterface::processedSize ( KIO::filesize_t  )
signal
void KIO::SlaveInterface::redirection ( const KUrl &  )
signal
void SlaveInterface::requestNetwork ( const QString &  host,
const QString &  slaveid 
)
protected

Definition at line 359 of file slaveinterface.cpp.

void SlaveInterface::sendMessageBoxAnswer ( int  result)

Sends our answer for the INF_MESSAGEBOX request.

Since
4.11

Definition at line 381 of file slaveinterface.cpp.

void SlaveInterface::sendResumeAnswer ( bool  resume)

Definition at line 374 of file slaveinterface.cpp.

void SlaveInterface::setConnection ( Connection *  connection)

Definition at line 61 of file slaveinterface.cpp.

void SlaveInterface::setOffset ( KIO::filesize_t  offset)

Definition at line 347 of file slaveinterface.cpp.

void SlaveInterface::setWindow ( QWidget *  window)

Sets the top level window used as a parent when displaying dialogs.

See also
window
Since
4.8.2
Deprecated:

Definition at line 441 of file slaveinterface.cpp.

void KIO::SlaveInterface::slaveStatus ( pid_t  ,
const QByteArray &  ,
const QString &  ,
bool   
)
signal
void KIO::SlaveInterface::speed ( unsigned  long)
signal
void KIO::SlaveInterface::statEntry ( const KIO::UDSEntry &  )
signal
void KIO::SlaveInterface::totalSize ( KIO::filesize_t  )
signal
void KIO::SlaveInterface::warning ( const QString &  )
signal
QWidget * SlaveInterface::window ( ) const

Returns the top level window used as parent when displaying dialogs.

See also
setWindow
Since
4.8.2
Deprecated:

Definition at line 447 of file slaveinterface.cpp.

void KIO::SlaveInterface::written ( KIO::filesize_t  )
signal

Member Data Documentation

SlaveInterfacePrivate* const KIO::SlaveInterface::d_ptr
protected

Definition at line 202 of file slaveinterface.h.


The documentation for this class was generated from the following files:
  • slaveinterface.h
  • slaveinterface.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal