|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.network.QFtp.Command
public static final class QFtp.Command
This enum is used as the return value for the currentCommand()
function. This allows you to perform specific actions for particular commands, e.g. in a FTP client, you might want to clear the directory view when a list()
command is started; in this case you can simply check in the slot connected to the start() signal if the currentCommand()
is List.
currentCommand()
.
Field Summary | |
---|---|
static QFtp.Command |
Cd
cd() is being executed. |
static QFtp.Command |
Close
close() is being executed. |
static QFtp.Command |
ConnectToHost
connectToHost() is being executed. |
static QFtp.Command |
Get
get() is being executed. |
static QFtp.Command |
List
list() is being executed. |
static QFtp.Command |
Login
login() is being executed. |
static QFtp.Command |
Mkdir
mkdir() is being executed. |
static QFtp.Command |
None
No command is being executed. |
static QFtp.Command |
Put
put() is being executed. |
static QFtp.Command |
RawCommand
rawCommand() is being executed. |
static QFtp.Command |
Remove
remove() is being executed. |
static QFtp.Command |
Rename
rename() is being executed. |
static QFtp.Command |
Rmdir
rmdir() is being executed. |
static QFtp.Command |
SetProxy
switch proxying on or off. |
static QFtp.Command |
SetTransferMode
set the transfer mode. |
Method Summary | |
---|---|
static QFtp.Command |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QFtp.Command |
valueOf(java.lang.String name)
|
static QFtp.Command[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QFtp.Command None
public static final QFtp.Command SetTransferMode
transfer
mode.
public static final QFtp.Command SetProxy
public static final QFtp.Command ConnectToHost
connectToHost()
is being executed.
public static final QFtp.Command Login
login()
is being executed.
public static final QFtp.Command Close
close()
is being executed.
public static final QFtp.Command List
list()
is being executed.
public static final QFtp.Command Cd
cd()
is being executed.
public static final QFtp.Command Get
get()
is being executed.
public static final QFtp.Command Put
put()
is being executed.
public static final QFtp.Command Remove
remove()
is being executed.
public static final QFtp.Command Mkdir
mkdir()
is being executed.
public static final QFtp.Command Rmdir
rmdir()
is being executed.
public static final QFtp.Command Rename
rename()
is being executed.
public static final QFtp.Command RawCommand
rawCommand()
is being executed.
Method Detail |
---|
public static QFtp.Command[] values()
public static QFtp.Command valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QFtp.Command resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |