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

KIO

KIO::SpecialJob

KIO::SpecialJob Class Reference

#include <jobclasses.h>

Inheritance diagram for KIO::SpecialJob:

Inheritance graph
[legend]

List of all members.


Detailed Description

A class that sends a special command to an ioslave.

This allows you to send a binary blob to an ioslave and handle its responses. The ioslave will receive the binary data as an argument to the "special" function (inherited from SlaveBase::special()).

Use this only on ioslaves that belong to your application. Sending special commands to other ioslaves may cause unexpected behaviour.

See also:
KIO::special

Definition at line 948 of file jobclasses.h.


Public Member Functions

 SpecialJob (const KUrl &url, const QByteArray &data=QByteArray())
void setArguments (const QByteArray &data)
QByteArray arguments () const
 ~SpecialJob ()

Constructor & Destructor Documentation

SpecialJob::SpecialJob ( const KUrl &  url,
const QByteArray &  data = QByteArray() 
) [explicit]

Creates a KIO::SpecialJob.

Parameters:
url the URL to be passed to the ioslave
data the data to be sent to the SlaveBase::special() function.

Definition at line 2668 of file job.cpp.

SpecialJob::~SpecialJob (  ) 

Definition at line 2673 of file job.cpp.


Member Function Documentation

void SpecialJob::setArguments ( const QByteArray &  data  ) 

Sets the QByteArray that is passed to SlaveBase::special() on the ioslave.

Definition at line 2677 of file job.cpp.

QByteArray SpecialJob::arguments (  )  const

Returns the QByteArray data that will be sent (or has been sent) to the ioslave.

Definition at line 2683 of file job.cpp.


The documentation for this class was generated from the following files:
  • jobclasses.h
  • job.cpp

KIO

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   WTF
  • KJSEmbed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  •   core
  • Phonon
  •   Backend
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal