#include <qftp.h>
◆ AbortState
Enumerator |
---|
None | |
AbortStarted | |
WaitForAbortToFinish | |
◆ State
Enumerator |
---|
Begin | |
Idle | |
Waiting | |
Success | |
Failure | |
◆ QFtpPI()
QFtpPI::QFtpPI |
( |
QObject * |
parent = 0 | ) |
|
◆ abort()
◆ clearPendingCommands()
void QFtpPI::clearPendingCommands |
( |
| ) |
|
◆ connected
void QFtpPI::connected |
( |
| ) |
|
|
privateslot |
◆ connectionClosed
void QFtpPI::connectionClosed |
( |
| ) |
|
|
privateslot |
◆ connectState
void QFtpPI::connectState |
( |
int |
| ) |
|
|
signal |
◆ connectToHost()
void QFtpPI::connectToHost |
( |
const QString & |
host, |
|
|
quint16 |
port |
|
) |
| |
◆ currentCommand()
QString QFtpPI::currentCommand |
( |
| ) |
const |
|
inline |
◆ delayedCloseFinished
void QFtpPI::delayedCloseFinished |
( |
| ) |
|
|
privateslot |
◆ dtpConnectState
void QFtpPI::dtpConnectState |
( |
int |
s | ) |
|
|
privateslot |
References QFtp::ConnectionRefused, QFtpDTP::CsClosed, QFtpDTP::CsConnected, QFtpDTP::CsConnectionRefused, QFtpDTP::CsHostNotFound, error(), processReply(), readyRead(), replyText, s, startNextCmd(), waitForDtpToClose, and waitForDtpToConnect.
Referenced by QFtpPI().
◆ error [1/2]
void QFtpPI::error |
( |
int |
, |
|
|
const QString & |
|
|
) |
| |
|
signal |
◆ error [2/2]
void QFtpPI::error |
( |
QAbstractSocket::SocketError |
e | ) |
|
|
privateslot |
◆ finished
void QFtpPI::finished |
( |
const QString & |
| ) |
|
|
signal |
◆ hostFound
void QFtpPI::hostFound |
( |
| ) |
|
|
privateslot |
◆ processReply()
bool QFtpPI::processReply |
( |
| ) |
|
|
private |
References AbortStarted, abortState, Begin, KviRegExp::capturedTexts(), QFtpDTP::clearError(), commandSocket, connectState(), QFtpDTP::connectToHost(), currentCmd, dtp, error(), QFtpDTP::errorMessage(), Failure, finished(), QFtpDTP::hasError(), Idle, KviRegExp::indexIn(), QFtp::LoggedIn, None, pendingCommands, rawCommand, rawFtpReply(), replyCode, replyText, QFtpDTP::setBytesTotal(), startNextCmd(), QFtpDTP::state(), state, Success, t, transferConnectionExtended, QFtp::UnknownError, WaitForAbortToFinish, QFtpDTP::waitForConnection(), waitForDtpToClose, waitForDtpToConnect, Waiting, and QFtpDTP::writeData().
Referenced by dtpConnectState(), and readyRead().
◆ rawFtpReply
void QFtpPI::rawFtpReply |
( |
int |
, |
|
|
const QString & |
|
|
) |
| |
|
signal |
◆ readyRead
void QFtpPI::readyRead |
( |
| ) |
|
|
privateslot |
◆ sendCommand()
bool QFtpPI::sendCommand |
( |
const QString & |
cmd | ) |
|
|
inline |
◆ sendCommands()
bool QFtpPI::sendCommands |
( |
const QStringList & |
cmds | ) |
|
◆ startNextCmd()
bool QFtpPI::startNextCmd |
( |
| ) |
|
|
private |
References commandSocket, currentCmd, dtp, finished(), pendingCommands, replyText, QFtpDTP::setupListener(), state, transferConnectionExtended, waitForDtpToConnect, and Waiting.
Referenced by dtpConnectState(), processReply(), and sendCommands().
◆ QFtpDTP
◆ abortState
◆ bytesFromSocket
QByteArray QFtpPI::bytesFromSocket |
|
private |
◆ commandSocket
QTcpSocket QFtpPI::commandSocket |
|
private |
◆ currentCmd
QString QFtpPI::currentCmd |
|
private |
◆ dtp
◆ pendingCommands
QStringList QFtpPI::pendingCommands |
|
private |
◆ rawCommand
◆ replyCode
char QFtpPI::replyCode[3] |
|
private |
◆ replyText
QString QFtpPI::replyText |
|
private |
◆ state
◆ transferConnectionExtended
bool QFtpPI::transferConnectionExtended |
◆ waitForDtpToClose
bool QFtpPI::waitForDtpToClose |
|
private |
◆ waitForDtpToConnect
bool QFtpPI::waitForDtpToConnect |
|
private |
The documentation for this class was generated from the following files: