OpenMW
|
#include <vartypedelegate.hpp>
Public Member Functions | |
VarTypeDelegateFactory (ESM::VarType type0=ESM::VT_Unknown, ESM::VarType type1=ESM::VT_Unknown, ESM::VarType type2=ESM::VT_Unknown, ESM::VarType type3=ESM::VT_Unknown) | |
virtual CommandDelegate * | makeDelegate (QUndoStack &undoStack, QObject *parent) const |
The ownership of the returned CommandDelegate is transferred to the caller. | |
void | add (ESM::VarType type) |
Private Attributes | |
std::vector< std::pair< int, QString > > | mValues |
CSVWorld::VarTypeDelegateFactory::VarTypeDelegateFactory | ( | ESM::VarType | type0 = ESM::VT_Unknown , |
ESM::VarType | type1 = ESM::VT_Unknown , |
||
ESM::VarType | type2 = ESM::VT_Unknown , |
||
ESM::VarType | type3 = ESM::VT_Unknown |
||
) |
void CSVWorld::VarTypeDelegateFactory::add | ( | ESM::VarType | type | ) |
CSVWorld::CommandDelegate * CSVWorld::VarTypeDelegateFactory::makeDelegate | ( | QUndoStack & | undoStack, |
QObject * | parent | ||
) | const [virtual] |
The ownership of the returned CommandDelegate is transferred to the caller.
Implements CSVWorld::CommandDelegateFactory.
std::vector<std::pair<int, QString> > CSVWorld::VarTypeDelegateFactory::mValues [private] |