KIO
Go to the documentation of this file.
20 #ifndef __kio_slaveinterface_h
21 #define __kio_slaveinterface_h
24 #include <sys/types.h>
26 #include <QtCore/QObject>
27 #include <QtNetwork/QHostInfo>
39 class SlaveInterfacePrivate;
108 void setConnection( Connection* connection );
109 Connection *connection()
const;
113 void sendResumeAnswer(
bool resume );
120 void sendMessageBoxAnswer(
int result);
133 KDE_DEPRECATED
QWidget* window()
const;
142 KDE_DEPRECATED
void setWindow(
QWidget* window);
149 void data(
const QByteArray & );
151 void error(
int ,
const QString & );
154 void slaveStatus(pid_t,
const QByteArray&,
const QString &,
bool);
157 void needSubUrlData();
170 void redirection(
const KUrl& );
173 void speed(
unsigned long );
175 void mimeType(
const QString & );
176 void warning(
const QString & );
177 void infoMessage(
const QString & );
185 virtual bool dispatch();
186 virtual bool dispatch(
int _cmd,
const QByteArray &data );
188 void messageBox(
int type,
const QString &text,
const QString &
caption,
189 const QString &buttonYes,
const QString &buttonNo );
191 void messageBox(
int type,
const QString &text,
const QString &
caption,
192 const QString &buttonYes,
const QString &buttonNo,
193 const QString &dontAskAgainName );
196 void requestNetwork(
const QString &,
const QString &);
197 void dropNetwork(
const QString &,
const QString &);
205 Q_PRIVATE_SLOT(d_func(),
void slotHostInfo(QHostInfo))
SlaveInterfacePrivate *const d_ptr
Info
Identifiers for KIO informational messages.
qulonglong filesize_t
64-bit file size
Universal Directory Service.
There are two classes that specifies the protocol between application ( KIO::Job) and kioslave.
Message
Identifiers for KIO data messages.
A namespace for KIO globals.
FileJob * open(const KUrl &url, QIODevice::OpenMode mode)
Open ( random access I/O )
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Jan 19 2020 00:00:00 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.