lib

Kross::Api::InterpreterInfo::Option Class Reference

#include <interpreter.h>

Public Types

typedef TQMap< TQString, Option * > Map

Public Member Functions

 Option (const TQString &name, const TQString &comment, const TQVariant &value)

Public Attributes

TQString name
TQString comment
TQVariant value

Detailed Description

Each interpreter is able to define options we could use to manipulate the interpreter behaviour.

Definition at line 49 of file interpreter.h.

Member Typedef Documentation

◆ Map

Map of options.

Definition at line 56 of file interpreter.h.

Constructor & Destructor Documentation

◆ Option()

Kross::Api::InterpreterInfo::Option::Option ( const TQString & name,
const TQString & comment,
const TQVariant & value )
inline

Constructor.

Parameters
nameThe name the option has. This is the displayed title and isn't used internaly.
commentA comment that describes the option.
valueThe TQVariant value this option has.

Definition at line 66 of file interpreter.h.

Member Data Documentation

◆ comment

TQString Kross::Api::InterpreterInfo::Option::comment

A description of the option.

Definition at line 73 of file interpreter.h.

◆ name

TQString Kross::Api::InterpreterInfo::Option::name

The short name of the option.

Definition at line 70 of file interpreter.h.

◆ value

TQVariant Kross::Api::InterpreterInfo::Option::value

The value the option has.

Definition at line 76 of file interpreter.h.


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