Notation used in Ruby API documentation
Module: QtNetwork
Description: Binding of QFtp
Class hierarchy: QFtp » QObject
Sub-classes: Command, QFlags_Command, Error, QFlags_Error, State, QFlags_State, TransferMode, QFlags_TransferMode, TransferType, QFlags_TransferType
new QFtp | new | (QObject ptr parent = 0) | Constructor QFtp::QFtp(QObject *parent) |
[const] | QFtp ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly destroys the object | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
void | abort | Method void QFtp::abort() | ||
[const] | long long | bytesAvailable | Method qint64 QFtp::bytesAvailable() | |
int | cd | (string dir) | Method int QFtp::cd(const QString &dir) | |
void | clearPendingCommands | Method void QFtp::clearPendingCommands() | ||
int | close | Method int QFtp::close() | ||
[signal] | void | commandFinished | (int arg1, bool arg2) | Signal declaration for QFtp::commandFinished(int, bool) |
[signal] | void | commandStarted | (int arg1) | Signal declaration for QFtp::commandStarted(int) |
int | connectToHost | (string host, unsigned short port = 21) | Method int QFtp::connectToHost(const QString &host, quint16 port) | |
[const] | QFtp_Command | currentCommand | Method QFtp::Command QFtp::currentCommand() | |
[const] | QIODevice ptr | currentDevice | Method QIODevice *QFtp::currentDevice() | |
[const] | int | currentId | Method int QFtp::currentId() | |
[signal] | void | dataTransferProgress | (long long arg1, long long arg2) | Signal declaration for QFtp::dataTransferProgress(qint64, qint64) |
[signal] | void | destroyed | (QObject ptr arg1) | Signal declaration for QFtp::destroyed(QObject *) |
[signal] | void | done | (bool arg1) | Signal declaration for QFtp::done(bool) |
void | emit_commandFinished | (int arg1, bool arg2) | Emitter for signal void QFtp::commandFinished(int, bool) | |
void | emit_commandStarted | (int arg1) | Emitter for signal void QFtp::commandStarted(int) | |
void | emit_dataTransferProgress | (long long arg1, long long arg2) | Emitter for signal void QFtp::dataTransferProgress(qint64, qint64) | |
void | emit_destroyed | (QObject ptr arg1 = 0) | Emitter for signal void QFtp::destroyed(QObject *) | |
void | emit_done | (bool arg1) | Emitter for signal void QFtp::done(bool) | |
void | emit_listInfo | (const QUrlInfo arg1) | Emitter for signal void QFtp::listInfo(const QUrlInfo &) | |
void | emit_rawCommandReply | (int arg1, string arg2) | Emitter for signal void QFtp::rawCommandReply(int, const QString &) | |
void | emit_readyRead | Emitter for signal void QFtp::readyRead() | ||
void | emit_stateChanged | (int arg1) | Emitter for signal void QFtp::stateChanged(int) | |
[const] | QFtp_Error | error | Method QFtp::Error QFtp::error() | |
[const] | string | errorString | Method QString QFtp::errorString() | |
bool | event | (QEvent ptr arg1) | Virtual method bool QFtp::event(QEvent *) | |
bool | eventFilter | (QObject ptr arg1, QEvent ptr arg2) | Virtual method bool QFtp::eventFilter(QObject *, QEvent *) | |
int | get | (string file, QIODevice ptr dev = 0, const QFtp_TransferType type = QFtp::Binary) | Method int QFtp::get(const QString &file, QIODevice *dev, QFtp::TransferType type) | |
[const] | bool | hasPendingCommands | Method bool QFtp::hasPendingCommands() | |
int | list | (string dir = QString()) | Method int QFtp::list(const QString &dir) | |
[signal] | void | listInfo | (const QUrlInfo arg1) | Signal declaration for QFtp::listInfo(const QUrlInfo &) |
int | login | (string user = QString(), string password = QString()) | Method int QFtp::login(const QString &user, const QString &password) | |
int | mkdir | (string dir) | Method int QFtp::mkdir(const QString &dir) | |
int | put | (bytes data, string file, const QFtp_TransferType type = QFtp::Binary) | Method int QFtp::put(const QByteArray &data, const QString &file, QFtp::TransferType type) | |
int | put | (QIODevice ptr dev, string file, const QFtp_TransferType type = QFtp::Binary) | Method int QFtp::put(QIODevice *dev, const QString &file, QFtp::TransferType type) | |
int | rawCommand | (string command) | Method int QFtp::rawCommand(const QString &command) | |
[signal] | void | rawCommandReply | (int arg1, string arg2) | Signal declaration for QFtp::rawCommandReply(int, const QString &) |
bytes | readAll | Method QByteArray QFtp::readAll() | ||
[signal] | void | readyRead | Signal declaration for QFtp::readyRead() | |
int | remove | (string file) | Method int QFtp::remove(const QString &file) | |
int | rename | (string oldname, string newname) | Method int QFtp::rename(const QString &oldname, const QString &newname) | |
int | rmdir | (string dir) | Method int QFtp::rmdir(const QString &dir) | |
int | setProxy | (string host, unsigned short port) | Method int QFtp::setProxy(const QString &host, quint16 port) | |
int | setTransferMode | (const QFtp_TransferMode mode) | Method int QFtp::setTransferMode(QFtp::TransferMode mode) | |
[const] | QFtp_State | state | Method QFtp::State QFtp::state() | |
[signal] | void | stateChanged | (int arg1) | Signal declaration for QFtp::stateChanged(int) |
[static,const] | QFtp_TransferMode | Active | Enum constant QFtp::Active | |
[static,const] | QFtp_TransferType | Ascii | Enum constant QFtp::Ascii | |
[static,const] | QFtp_TransferType | Binary | Enum constant QFtp::Binary | |
[static,const] | QFtp_Command | Cd | Enum constant QFtp::Cd | |
[static,const] | QFtp_Command | Close | Enum constant QFtp::Close | |
[static,const] | QFtp_State | Closing | Enum constant QFtp::Closing | |
[static,const] | QFtp_Command | ConnectToHost | Enum constant QFtp::ConnectToHost | |
[static,const] | QFtp_State | Connected | Enum constant QFtp::Connected | |
[static,const] | QFtp_State | Connecting | Enum constant QFtp::Connecting | |
[static,const] | QFtp_Error | ConnectionRefused | Enum constant QFtp::ConnectionRefused | |
[static,const] | QFtp_Command | Get | Enum constant QFtp::Get | |
[static,const] | QFtp_State | HostLookup | Enum constant QFtp::HostLookup | |
[static,const] | QFtp_Error | HostNotFound | Enum constant QFtp::HostNotFound | |
[static,const] | QFtp_Command | List | Enum constant QFtp::List | |
[static,const] | QFtp_State | LoggedIn | Enum constant QFtp::LoggedIn | |
[static,const] | QFtp_Command | Login | Enum constant QFtp::Login | |
[static,const] | QFtp_Command | Mkdir | Enum constant QFtp::Mkdir | |
[static,const] | QFtp_Error | NoError | Enum constant QFtp::NoError | |
[static,const] | QFtp_Command | None | Enum constant QFtp::None | |
[static,const] | QFtp_Error | NotConnected | Enum constant QFtp::NotConnected | |
[static,const] | QFtp_TransferMode | Passive | Enum constant QFtp::Passive | |
[static,const] | QFtp_Command | Put | Enum constant QFtp::Put | |
[static,const] | QFtp_Command | RawCommand | Enum constant QFtp::RawCommand | |
[static,const] | QFtp_Command | Remove | Enum constant QFtp::Remove | |
[static,const] | QFtp_Command | Rename | Enum constant QFtp::Rename | |
[static,const] | QFtp_Command | Rmdir | Enum constant QFtp::Rmdir | |
[static,const] | QFtp_Command | SetProxy | Enum constant QFtp::SetProxy | |
[static,const] | QFtp_Command | SetTransferMode | Enum constant QFtp::SetTransferMode | |
[static,const] | QFtp_State | Unconnected | Enum constant QFtp::Unconnected | |
[static,const] | QFtp_Error | UnknownError | Enum constant QFtp::UnknownError | |
QMetaObject | staticMetaObject | Obtains the static MetaObject for this class. | ||
string | tr | (string s, string c = 0) | Static method QString QFtp::tr(const char *s, const char *c) | |
string | tr | (string s, string c, int n) | Static method QString QFtp::tr(const char *s, const char *c, int n) | |
string | trUtf8 | (string s, string c = 0) | Static method QString QFtp::trUtf8(const char *s, const char *c) | |
string | trUtf8 | (string s, string c, int n) | Static method QString QFtp::trUtf8(const char *s, const char *c, int n) |
void | childEvent | (QChildEvent ptr arg1) | Virtual method void QFtp::childEvent(QChildEvent *) | ||
void | customEvent | (QEvent ptr arg1) | Virtual method void QFtp::customEvent(QEvent *) | ||
void | disconnectNotify | (string signal) | Virtual method void QFtp::disconnectNotify(const char *signal) | ||
[const] | int | receivers | (string signal) | Method int QFtp::receivers(const char *signal) | |
[const] | QObject ptr | sender | Method QObject *QFtp::sender() | ||
void | timerEvent | (QTimerEvent ptr arg1) | Virtual method void QFtp::timerEvent(QTimerEvent *) |
Active | Signature: [static,const] QFtp_TransferMode Active Description: Enum constant QFtp::Active Python specific notes: |
Ascii | Signature: [static,const] QFtp_TransferType Ascii Description: Enum constant QFtp::Ascii Python specific notes: |
Binary | Signature: [static,const] QFtp_TransferType Binary Description: Enum constant QFtp::Binary Python specific notes: |
Cd | Signature: [static,const] QFtp_Command Cd Description: Enum constant QFtp::Cd Python specific notes: |
Close | Signature: [static,const] QFtp_Command Close Description: Enum constant QFtp::Close Python specific notes: |
Closing | Signature: [static,const] QFtp_State Closing Description: Enum constant QFtp::Closing Python specific notes: |
ConnectToHost | Signature: [static,const] QFtp_Command ConnectToHost Description: Enum constant QFtp::ConnectToHost Python specific notes: |
Connected | Signature: [static,const] QFtp_State Connected Description: Enum constant QFtp::Connected Python specific notes: |
Connecting | Signature: [static,const] QFtp_State Connecting Description: Enum constant QFtp::Connecting Python specific notes: |
ConnectionRefused | Signature: [static,const] QFtp_Error ConnectionRefused Description: Enum constant QFtp::ConnectionRefused Python specific notes: |
Get | Signature: [static,const] QFtp_Command Get Description: Enum constant QFtp::Get Python specific notes: |
HostLookup | Signature: [static,const] QFtp_State HostLookup Description: Enum constant QFtp::HostLookup Python specific notes: |
HostNotFound | Signature: [static,const] QFtp_Error HostNotFound Description: Enum constant QFtp::HostNotFound Python specific notes: |
List | Signature: [static,const] QFtp_Command List Description: Enum constant QFtp::List Python specific notes: |
LoggedIn | Signature: [static,const] QFtp_State LoggedIn Description: Enum constant QFtp::LoggedIn Python specific notes: |
Login | Signature: [static,const] QFtp_Command Login Description: Enum constant QFtp::Login Python specific notes: |
Mkdir | Signature: [static,const] QFtp_Command Mkdir Description: Enum constant QFtp::Mkdir Python specific notes: |
NoError | Signature: [static,const] QFtp_Error NoError Description: Enum constant QFtp::NoError Python specific notes: |
None | Signature: [static,const] QFtp_Command None Description: Enum constant QFtp::None Python specific notes: |
NotConnected | Signature: [static,const] QFtp_Error NotConnected Description: Enum constant QFtp::NotConnected Python specific notes: |
Passive | Signature: [static,const] QFtp_TransferMode Passive Description: Enum constant QFtp::Passive Python specific notes: |
Put | Signature: [static,const] QFtp_Command Put Description: Enum constant QFtp::Put Python specific notes: |
RawCommand | Signature: [static,const] QFtp_Command RawCommand Description: Enum constant QFtp::RawCommand Python specific notes: |
Remove | Signature: [static,const] QFtp_Command Remove Description: Enum constant QFtp::Remove Python specific notes: |
Rename | Signature: [static,const] QFtp_Command Rename Description: Enum constant QFtp::Rename Python specific notes: |
Rmdir | Signature: [static,const] QFtp_Command Rmdir Description: Enum constant QFtp::Rmdir Python specific notes: |
SetProxy | Signature: [static,const] QFtp_Command SetProxy Description: Enum constant QFtp::SetProxy Python specific notes: |
SetTransferMode | Signature: [static,const] QFtp_Command SetTransferMode Description: Enum constant QFtp::SetTransferMode Python specific notes: |
Unconnected | Signature: [static,const] QFtp_State Unconnected Description: Enum constant QFtp::Unconnected Python specific notes: |
UnknownError | Signature: [static,const] QFtp_Error UnknownError Description: Enum constant QFtp::UnknownError Python specific notes: |
_const_cast | Signature: [const] QFtp ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
_destroy | Signature: void _destroy Description: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
_destroyed? | Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
_is_const_object? | Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
abort | Signature: void abort Description: Method void QFtp::abort() |
bytesAvailable | Signature: [const] long long bytesAvailable Description: Method qint64 QFtp::bytesAvailable() |
cd | Signature: int cd (string dir) Description: Method int QFtp::cd(const QString &dir) |
childEvent | Signature: void childEvent (QChildEvent ptr arg1) Description: Virtual method void QFtp::childEvent(QChildEvent *) This method can be reimplemented in a derived class. |
clearPendingCommands | Signature: void clearPendingCommands Description: Method void QFtp::clearPendingCommands() |
close | Signature: int close Description: Method int QFtp::close() |
commandFinished | Signature: [signal] void commandFinished (int arg1, bool arg2) Description: Signal declaration for QFtp::commandFinished(int, bool) You can bind a procedure to this signal. Python specific notes: |
commandStarted | Signature: [signal] void commandStarted (int arg1) Description: Signal declaration for QFtp::commandStarted(int) You can bind a procedure to this signal. Python specific notes: |
connectToHost | Signature: int connectToHost (string host, unsigned short port = 21) Description: Method int QFtp::connectToHost(const QString &host, quint16 port) |
currentCommand | Signature: [const] QFtp_Command currentCommand Description: Method QFtp::Command QFtp::currentCommand() |
currentDevice | Signature: [const] QIODevice ptr currentDevice Description: Method QIODevice *QFtp::currentDevice() |
currentId | Signature: [const] int currentId Description: Method int QFtp::currentId() |
customEvent | Signature: void customEvent (QEvent ptr arg1) Description: Virtual method void QFtp::customEvent(QEvent *) This method can be reimplemented in a derived class. |
dataTransferProgress | Signature: [signal] void dataTransferProgress (long long arg1, long long arg2) Description: Signal declaration for QFtp::dataTransferProgress(qint64, qint64) You can bind a procedure to this signal. Python specific notes: |
destroyed | Signature: [signal] void destroyed (QObject ptr arg1) Description: Signal declaration for QFtp::destroyed(QObject *) You can bind a procedure to this signal. Python specific notes: |
disconnectNotify | Signature: void disconnectNotify (string signal) Description: Virtual method void QFtp::disconnectNotify(const char *signal) This method can be reimplemented in a derived class. |
done | Signature: [signal] void done (bool arg1) Description: Signal declaration for QFtp::done(bool) You can bind a procedure to this signal. Python specific notes: |
emit_commandFinished | Signature: void emit_commandFinished (int arg1, bool arg2) Description: Emitter for signal void QFtp::commandFinished(int, bool) Call this method to emit this signal. |
emit_commandStarted | Signature: void emit_commandStarted (int arg1) Description: Emitter for signal void QFtp::commandStarted(int) Call this method to emit this signal. |
emit_dataTransferProgress | Signature: void emit_dataTransferProgress (long long arg1, long long arg2) Description: Emitter for signal void QFtp::dataTransferProgress(qint64, qint64) Call this method to emit this signal. |
emit_destroyed | Signature: void emit_destroyed (QObject ptr arg1 = 0) Description: Emitter for signal void QFtp::destroyed(QObject *) Call this method to emit this signal. |
emit_done | Signature: void emit_done (bool arg1) Description: Emitter for signal void QFtp::done(bool) Call this method to emit this signal. |
emit_listInfo | Signature: void emit_listInfo (const QUrlInfo arg1) Description: Emitter for signal void QFtp::listInfo(const QUrlInfo &) Call this method to emit this signal. |
emit_rawCommandReply | Signature: void emit_rawCommandReply (int arg1, string arg2) Description: Emitter for signal void QFtp::rawCommandReply(int, const QString &) Call this method to emit this signal. |
emit_readyRead | Signature: void emit_readyRead Description: Emitter for signal void QFtp::readyRead() Call this method to emit this signal. |
emit_stateChanged | Signature: void emit_stateChanged (int arg1) Description: Emitter for signal void QFtp::stateChanged(int) Call this method to emit this signal. |
error | Signature: [const] QFtp_Error error Description: Method QFtp::Error QFtp::error() |
errorString | Signature: [const] string errorString Description: Method QString QFtp::errorString() |
event | Signature: bool event (QEvent ptr arg1) Description: Virtual method bool QFtp::event(QEvent *) This method can be reimplemented in a derived class. |
eventFilter | Signature: bool eventFilter (QObject ptr arg1, QEvent ptr arg2) Description: Virtual method bool QFtp::eventFilter(QObject *, QEvent *) This method can be reimplemented in a derived class. |
get | Signature: int get (string file, QIODevice ptr dev = 0, const QFtp_TransferType type = QFtp::Binary) Description: Method int QFtp::get(const QString &file, QIODevice *dev, QFtp::TransferType type) |
hasPendingCommands | Signature: [const] bool hasPendingCommands Description: Method bool QFtp::hasPendingCommands() |
list | Signature: int list (string dir = QString()) Description: Method int QFtp::list(const QString &dir) |
listInfo | Signature: [signal] void listInfo (const QUrlInfo arg1) Description: Signal declaration for QFtp::listInfo(const QUrlInfo &) You can bind a procedure to this signal. Python specific notes: |
login | Signature: int login (string user = QString(), string password = QString()) Description: Method int QFtp::login(const QString &user, const QString &password) |
mkdir | Signature: int mkdir (string dir) Description: Method int QFtp::mkdir(const QString &dir) |
new | Signature: [static] new QFtp new (QObject ptr parent = 0) Description: Constructor QFtp::QFtp(QObject *parent) This method creates an object of class QFtp. Python specific notes: |
put | (1) Signature: int put (bytes data, string file, const QFtp_TransferType type = QFtp::Binary) Description: Method int QFtp::put(const QByteArray &data, const QString &file, QFtp::TransferType type) |
(2) Signature: int put (QIODevice ptr dev, string file, const QFtp_TransferType type = QFtp::Binary) Description: Method int QFtp::put(QIODevice *dev, const QString &file, QFtp::TransferType type) | |
rawCommand | Signature: int rawCommand (string command) Description: Method int QFtp::rawCommand(const QString &command) |
rawCommandReply | Signature: [signal] void rawCommandReply (int arg1, string arg2) Description: Signal declaration for QFtp::rawCommandReply(int, const QString &) You can bind a procedure to this signal. Python specific notes: |
readAll | Signature: bytes readAll Description: Method QByteArray QFtp::readAll() |
readyRead | Signature: [signal] void readyRead Description: Signal declaration for QFtp::readyRead() You can bind a procedure to this signal. Python specific notes: |
receivers | Signature: [const] int receivers (string signal) Description: Method int QFtp::receivers(const char *signal) This method is protected and can only be called from inside a derived class. |
remove | Signature: int remove (string file) Description: Method int QFtp::remove(const QString &file) |
rename | Signature: int rename (string oldname, string newname) Description: Method int QFtp::rename(const QString &oldname, const QString &newname) |
rmdir | Signature: int rmdir (string dir) Description: Method int QFtp::rmdir(const QString &dir) |
sender | Signature: [const] QObject ptr sender Description: Method QObject *QFtp::sender() This method is protected and can only be called from inside a derived class. |
setProxy | Signature: int setProxy (string host, unsigned short port) Description: Method int QFtp::setProxy(const QString &host, quint16 port) |
setTransferMode | Signature: int setTransferMode (const QFtp_TransferMode mode) Description: Method int QFtp::setTransferMode(QFtp::TransferMode mode) |
state | Signature: [const] QFtp_State state Description: Method QFtp::State QFtp::state() |
stateChanged | Signature: [signal] void stateChanged (int arg1) Description: Signal declaration for QFtp::stateChanged(int) You can bind a procedure to this signal. Python specific notes: |
staticMetaObject | Signature: [static] QMetaObject staticMetaObject Description: Obtains the static MetaObject for this class. |
timerEvent | Signature: void timerEvent (QTimerEvent ptr arg1) Description: Virtual method void QFtp::timerEvent(QTimerEvent *) This method can be reimplemented in a derived class. |
tr | (1) Signature: [static] string tr (string s, string c = 0) Description: Static method QString QFtp::tr(const char *s, const char *c) This method is static and can be called without an instance. |
(2) Signature: [static] string tr (string s, string c, int n) Description: Static method QString QFtp::tr(const char *s, const char *c, int n) This method is static and can be called without an instance. | |
trUtf8 | (1) Signature: [static] string trUtf8 (string s, string c = 0) Description: Static method QString QFtp::trUtf8(const char *s, const char *c) This method is static and can be called without an instance. |
(2) Signature: [static] string trUtf8 (string s, string c, int n) Description: Static method QString QFtp::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. |