KIO
slave.cpp
Go to the documentation of this file.
410 Slave* Slave::createSlave( const QString &protocol, const KUrl& url, int& error, QString& error_text )
428 QDBusReply<uint> reply = QDBusConnection::sessionBus().interface()->serviceUid(KToolInvocation::klauncher()->service());
454 kDebug() << "kioslave" << ", " << lib_path << ", " << protocol << ", " << QString() << ", " << slaveAddress;
492 QDBusReply<int> reply = KToolInvocation::klauncher()->requestHoldSlave(url.url(), slaveAddress);
QString i18n(const char *text)
void slaveDied(KIO::Slave *slave)
void data(const QByteArray &)
QDBusReply< int > requestSlave(const QString &protocol, const QString &host, const QString &app_socket, QString &error)
Definition: global.h:177
QDBusReply< void > waitForSlave(int pid)
Definition: global.h:151
There are two classes that specifies the protocol between application ( KIO::Job) and kioslave...
Definition: slaveinterface.h:98
static QString locate(const char *type, const QString &filename, const KComponentData &cData=KGlobal::mainComponent())
Definition: global.h:197
Definition: global.h:238
Definition: global.h:156
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
Definition: slave.h:48
static Slave * holdSlave(const QString &protocol, const KUrl &url)
Requests a slave on hold for ths url, from klauncher, if there is such a job.
Definition: slave.cpp:484
Definition: slaveinterface_p.h:32
virtual void setHost(const QString &host, quint16 port, const QString &user, const QString &passwd)
Set host for url.
Definition: slave.cpp:378
QString fileName
virtual void send(int cmd, const QByteArray &arr=QByteArray())
Sends the given command to the kioslave.
Definition: slave.cpp:332
static QString exec(const QString &protocol)
virtual void hold(const KUrl &url)
Puts the kioslave associated with url at halt, and return it to klauncher, in order to let another ap...
Definition: slave.cpp:294
void error(int, const QString &)
const KComponentData & mainComponent()
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void metaData(const KIO::MetaData &)
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
static Slave * createSlave(const QString &protocol, const KUrl &url, int &error, QString &error_text)
Creates a new slave.
Definition: slave.cpp:410
QDBusReply< int > requestHoldSlave(const QString &url, const QString &app_socket)
static bool checkForHeldSlave(const KUrl &url)
Returns true if klauncher is holding a slave for url.
Definition: slave.cpp:508
This kioslave provides support of data urls as specified by rfc 2397.
Definition: dataprotocol.h:63
QDBusReply< bool > checkForHeldSlave(const QString &url)
static OrgKdeKLauncherInterface * klauncher()
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.