41 #ifndef QCOMMANDLINEOPTION_H
42 #define QCOMMANDLINEOPTION_H
44 #include <QtCore/qstringlist.h>
45 #include <QtCore/qshareddata.h>
58 ShortOptionStyle = 0x2
85 void setDescription(
const QString &description);
88 void setDefaultValue(
const QString &defaultValue);
89 void setDefaultValues(
const QStringList &defaultValues);
93 void setFlags(
Flags aflags);
The QCommandLineOption class defines a possible command-line option. \inmodule QtCore.
The QString class provides a Unicode character string.
The QStringList class provides a list of strings.
QT_REQUIRE_CONFIG(commandlineparser)
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
#define QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(Class)
#define Q_DECLARE_SHARED(TYPE)