libqutim  0.3.1.0
qutim_sdk_0_3::CommandArgument Class Reference

#include <plugin.h>

Public Types

enum  Type {
  NoValue = 0, ValueOptional = 1, ValueRequired = 2, AllowMultiple = 4,
  Undocumented = 8
}
 

Public Member Functions

 CommandArgument (const QString &name, const QString &desc=QString(), Types types=NoValue, int group=-1)
 
 CommandArgument (const CommandArgument &o)
 
 ~CommandArgument ()
 
void addAlias (const QStringList &alias)
 
QStringList aliases () const
 
QString description () const
 
int group () const
 
QString name () const
 
CommandArgumentoperator= (const CommandArgument &o)
 
void setAliases (const QStringList &aliases)
 
Types types () const
 

Member Enumeration Documentation

Enumerator
NoValue 

The option does not accept a value.

ValueOptional 

The option may accept a value.

ValueRequired 

The option requires a value.

AllowMultiple 

The option may be passed multiple times.

Undocumented 

The option is not output in the help text.

Constructor & Destructor Documentation

qutim_sdk_0_3::CommandArgument::CommandArgument ( const QString &  name,
const QString &  desc = QString(),
Types  types = NoValue,
int  group = -1 
)
qutim_sdk_0_3::CommandArgument::CommandArgument ( const CommandArgument o)
qutim_sdk_0_3::CommandArgument::~CommandArgument ( )

Member Function Documentation

void qutim_sdk_0_3::CommandArgument::addAlias ( const QStringList &  alias)
QStringList qutim_sdk_0_3::CommandArgument::aliases ( ) const
QString qutim_sdk_0_3::CommandArgument::description ( ) const
int qutim_sdk_0_3::CommandArgument::group ( ) const
QString qutim_sdk_0_3::CommandArgument::name ( ) const
CommandArgument& qutim_sdk_0_3::CommandArgument::operator= ( const CommandArgument o)
void qutim_sdk_0_3::CommandArgument::setAliases ( const QStringList &  aliases)
Types qutim_sdk_0_3::CommandArgument::types ( ) const

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

Generated by Doxygen