Quassel IRC  Pre-Release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
AbstractCliParser::CliParserArg Struct Reference

#include </tmp/quassel/src/common/abstractcliparser.h>

Public Types

enum  CliArgType { CliArgInvalid, CliArgSwitch, CliArgOption }

Public Member Functions

 CliParserArg (const CliArgType type=CliArgInvalid, const char shortName=0, const QString &help=QString(), const QString &valueName=QString(), const QString def=QString())

Public Attributes

CliArgType type
char shortName
QString help
QString valueName
QString def
QString value
bool boolValue = false

Detailed Description

Definition at line 50 of file abstractcliparser.h.

Member Enumeration Documentation

enum CliArgType
Enumerator:
CliArgInvalid 
CliArgSwitch 
CliArgOption 

Definition at line 51 of file abstractcliparser.h.

Constructor & Destructor Documentation

CliParserArg ( const CliArgType  type = CliArgInvalid,
const char  shortName = 0,
const QString &  help = QString(),
const QString &  valueName = QString(),
const QString  def = QString() 
)
inline

Definition at line 57 of file abstractcliparser.h.

Member Data Documentation

CliArgType type

Definition at line 63 of file abstractcliparser.h.

Referenced by Qt5CliParser::addArgument(), and KCmdLineWrapper::addArgument().

char shortName
QString help

Definition at line 67 of file abstractcliparser.h.

Referenced by Qt5CliParser::addArgument(), and KCmdLineWrapper::addArgument().

QString valueName

Definition at line 68 of file abstractcliparser.h.

Referenced by Qt5CliParser::addArgument(), and KCmdLineWrapper::addArgument().

QString def

Definition at line 69 of file abstractcliparser.h.

Referenced by Qt5CliParser::addArgument(), and KCmdLineWrapper::addArgument().

QString value

Definition at line 70 of file abstractcliparser.h.

bool boolValue = false

Definition at line 71 of file abstractcliparser.h.


The documentation for this struct was generated from the following file: