• Skip to content
  • Skip to link menu
KDE 4.1 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

QByteArray arguments () const
void setArguments (const QByteArray &data)
 SpecialJob (const KUrl &url, const QByteArray &data=QByteArray())
 ~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 2703 of file job.cpp.

SpecialJob::~SpecialJob (  ) 

Definition at line 2708 of file job.cpp.


Member Function Documentation

QByteArray SpecialJob::arguments (  )  const

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

Definition at line 2718 of file job.cpp.

void SpecialJob::setArguments ( const QByteArray &  data  ) 

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

Definition at line 2712 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
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • 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