CommandLineOption Class Reference

Abstract base class of the command line plugins. More...

#include <commandlineoption.h>

List of all members.

Public Member Functions

virtual bool identify (const QString &opt_str) const =0
virtual const QString name () const =0
virtual const QString helpString () const =0
virtual void executeCommand (const QString &opt_str, const QStringList &args)=0
virtual QTranslator * createTranslator (QObject *parent)=0
virtual ~CommandLineOption ()


Detailed Description

Abstract base class of the command line plugins.

Author:
Vladimir Kuznetsov <vovanec@gmail.ru>

Constructor & Destructor Documentation

virtual CommandLineOption::~CommandLineOption (  )  [inline, virtual]

Object destructor


Member Function Documentation

virtual QTranslator* CommandLineOption::createTranslator ( QObject *  parent  )  [pure virtual]

Creates translator with parent object parent

virtual void CommandLineOption::executeCommand ( const QString &  opt_str,
const QStringList &  args 
) [pure virtual]

Parses opt_str args(if needed), executes command.

Parameters:
opt_str Command to execute
args Command arguments

virtual const QString CommandLineOption::helpString (  )  const [pure virtual]

Help string.

virtual bool CommandLineOption::identify ( const QString &  opt_str  )  const [pure virtual]

Returns true if opt_str string can be processed, otherise false

virtual const QString CommandLineOption::name (  )  const [pure virtual]

Command line option name


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

Generated on Sat Mar 27 19:43:00 2010 for Qmmp by  doxygen 1.5.9