Logo Search packages:      
Sourcecode: qt4-x11 version File versions

int Q3Ftp::cd ( const QString dir  ) 

Changes the working directory of the server to dir.

The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by commandStarted() and commandFinished().

When the command is started the commandStarted() signal is emitted. When it is finished the commandFinished() signal is emitted.

See also:
commandStarted() commandFinished()

Definition at line 1504 of file q3ftp.cpp.

Referenced by operationListChildren(), operationRemove(), and operationRename().

    return addCommand( new Q3FtpCommand( Cd, QStringList(QLatin1String("CWD ")+dir+QLatin1String("\r\n")) ) );

Generated by  Doxygen 1.6.0   Back to index