Lines Matching refs:commandSocket

207     QTcpSocket commandSocket;  member in QFtpPI
795 commandSocket(nullptr), in QFtpPI()
801 commandSocket.setObjectName(QLatin1String("QFtpPI_socket")); in QFtpPI()
802 connect(&commandSocket, SIGNAL(hostFound()), in QFtpPI()
804 connect(&commandSocket, SIGNAL(connected()), in QFtpPI()
806 connect(&commandSocket, SIGNAL(disconnected()), in QFtpPI()
808 connect(&commandSocket, SIGNAL(readyRead()), in QFtpPI()
810 connect(&commandSocket, SIGNAL(errorOccurred(QAbstractSocket::SocketError)), in QFtpPI()
822 commandSocket.setProperty("_q_networksession", property("_q_networksession")); in connectToHost()
825 commandSocket.connectToHost(host, port); in connectToHost()
843 if (commandSocket.state() != QTcpSocket::ConnectedState || state!=Idle) { in sendCommands()
877 commandSocket.write("ABOR\r\n", 6); in abort()
902 commandSocket.setSocketOption(QAbstractSocket::LowDelayOption, 1); in connected()
909 commandSocket.close(); in connectionClosed()
923 QFtp::tr("Host %1 not found").arg(commandSocket.peerName())); in error()
927 QFtp::tr("Connection refused to host %1").arg(commandSocket.peerName())); in error()
931 QFtp::tr("Connection timed out to host %1").arg(commandSocket.peerName())); in error()
940 while (commandSocket.canReadLine()) { in readyRead()
942 QString line = QString::fromUtf8(commandSocket.readLine()); in readyRead()
970 if (!commandSocket.canReadLine()) in readyRead()
972 line = QString::fromUtf8(commandSocket.readLine()); in readyRead()
1035 emit finished(QFtp::tr("Connected to host %1").arg(commandSocket.peerName())); in processReply()
1094 dtp.connectToHost(commandSocket.peerAddress().toString(), in processReply()
1185 QHostAddress address = commandSocket.localAddress(); in startNextCmd()
1223 commandSocket.write(currentCmd.toUtf8()); in startNextCmd()