|
| Slave (const QString &protocol, QObject *parent=0) |
|
virtual | ~Slave () |
|
void | deref () |
|
virtual void | hold (const KUrl &url) |
|
QString | host () |
|
time_t | idleTime () |
|
bool | isAlive () |
|
bool | isConnected () |
|
KIO::SimpleJob * | job () const |
|
void | kill () |
|
QString | passwd () |
|
quint16 | port () |
|
QString | protocol () |
|
void | ref () |
|
void | resetHost () |
|
virtual void | resume () |
|
virtual void | send (int cmd, const QByteArray &arr=QByteArray()) |
|
virtual void | setConfig (const MetaData &config) |
|
void | setConnected (bool c) |
|
virtual void | setHost (const QString &host, quint16 port, const QString &user, const QString &passwd) |
|
void | setIdle () |
|
void | setJob (KIO::SimpleJob *job) |
|
void | setPID (pid_t) |
|
void | setProtocol (const QString &protocol) |
|
int | slave_pid () |
|
QString | slaveProtocol () |
|
virtual void | suspend () |
|
virtual bool | suspended () |
|
QString | user () |
|
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 |
|
| 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 ®Exp) 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 |
|
|
static bool | checkForHeldSlave (const KUrl &url) |
|
static Slave * | createSlave (const QString &protocol, const KUrl &url, int &error, QString &error_text) |
|
static Slave * | holdSlave (const QString &protocol, const KUrl &url) |
|
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) |
|
|
void | calcSpeed () |
|
| 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 &) |
|
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) |
|
QByteArray | normalizeSignalSlot (const char *signalSlot) |
|
SlaveInterfacePrivate *const | d_ptr |
|
| objectName |
|
Definition at line 48 of file slave.h.
void Slave::hold |
( |
const KUrl & |
url | ) |
|
|
virtual |
Puts the kioslave associated with url
at halt, and return it to klauncher, in order to let another application connect to it and finish the job.
This is for the krunner case: type a URL in krunner, it will start downloading to find the mimetype (KRun), and then hold the slave, publish the held slave using, this method, and the final application can continue the same download by requesting the same URL.
Reimplemented in KIO::DataSlave.
Definition at line 294 of file slave.cpp.