2322 if (q->bytesAvailable())
2324 emit q->commandStarted(c->
id);
2345 #ifndef QT_NO_BEARERMANAGEMENT 2347 pi.
setProperty(
"_q_networksession", q->property(
"_q_networksession"));
static QString number(int, int base=10)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual qint64 size() const
For open random-access devices, this function returns the size of the device.
void _q_piFinished(const QString &)
bool setProperty(const char *name, const QVariant &value)
Sets the value of the object's name property to value.
#define QT_TRANSLATE_NOOP(scope, x)
Marks the string literal sourceText for dynamic translation in the given context; i...
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QString class provides a Unicode character string.
void setData(QByteArray *)
The QFtp class provides an implementation of the client side of FTP protocol.
bool isEmpty() const
Returns true if the list contains no items; otherwise returns false.
bool isOpen() const
Returns true if the device is open; otherwise returns false.
QString trimmed() const Q_REQUIRED_RESULT
Returns a string that has whitespace removed from the start and the end.
static bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
Creates a connection of the given type from the signal in the sender object to the method in the rece...
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
void connectToHost(const QString &host, quint16 port)
void clear()
Removes all items from the list.
void setBytesTotal(qint64 bytes)
virtual bool isSequential() const
Returns true if this device is sequential; otherwise returns false.
T & first()
Returns a reference to the first item in the list.
bool sendCommands(const QStringList &cmds)
QList< QFtpCommand * > pending
int size() const
Returns the number of bytes in this byte array.
virtual bool open(OpenMode mode)
Opens the device and sets its OpenMode to mode.
union QFtpCommand::@311 data
void setDevice(QIODevice *)
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.