45 #include <QtCore/qstring.h> 46 #include <QtNetwork/qurlinfo.h> 47 #include <QtCore/qobject.h> 118 int remove(
const QString &file);
123 int rawCommand(
const QString &command);
125 qint64 bytesAvailable()
const;
129 {
return read(data,
qint64(maxlen)); }
133 int currentId()
const;
135 Command currentCommand()
const;
136 bool hasPendingCommands()
const;
137 void clearPendingCommands();
148 void stateChanged(
int);
152 void rawCommandReply(
int,
const QString&);
154 void commandStarted(
int);
155 void commandFinished(
int,
bool);
#define QT_END_NAMESPACE
This macro expands to.
The QByteArray class provides an array of bytes.
Command
This enum is used as the return value for the currentCommand() function.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
#define Q_PRIVATE_SLOT(d, signature)
The QString class provides a Unicode character string.
The QFtp class provides an implementation of the client side of FTP protocol.
The QObject class is the base class of all Qt objects.
Q_GUI_EXPORT QString errorString(EGLint code=eglGetError())
The QUrlInfo class stores information about URLs.
TransferMode
FTP works with two socket connections; one for commands and another for transmitting data...
#define QT_BEGIN_NAMESPACE
This macro expands to.
Error
This enum identifies the error that occurred.
static const char * data(const QByteArray &arr)
The State element defines configurations of objects and properties.
TransferType
This enum identifies the data transfer type used with get and put commands.
#define Q_DECLARE_PRIVATE(Class)
The QIODevice class is the base interface class of all I/O devices in Qt.