OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CSVWorld::DataDisplayDelegateFactory Class Reference

#include <datadisplaydelegate.hpp>

Inheritance diagram for CSVWorld::DataDisplayDelegateFactory:
Collaboration diagram for CSVWorld::DataDisplayDelegateFactory:

Public Member Functions

virtual CommandDelegatemakeDelegate (CSMWorld::CommandDispatcher *dispatcher, CSMDoc::Document &document, QObject *parent) const
 The ownership of the returned CommandDelegate is transferred to the caller. More...
 
- Public Member Functions inherited from CSVWorld::EnumDelegateFactory
 EnumDelegateFactory ()
 
 EnumDelegateFactory (const char **names, bool allowNone=false)
 
 EnumDelegateFactory (const std::vector< std::string > &names, bool allowNone=false)
 
void add (int value, const QString &name)
 
- Public Member Functions inherited from CSVWorld::CommandDelegateFactory
virtual ~CommandDelegateFactory ()
 

Protected Member Functions

void add (int enumValue, const QString &enumName, const QString &iconFilename)
 

Protected Attributes

DataDisplayDelegate::IconList mIcons
 
- Protected Attributes inherited from CSVWorld::EnumDelegateFactory
std::vector< std::pair< int,
QString > > 
mValues
 

Member Function Documentation

void CSVWorld::DataDisplayDelegateFactory::add ( int  enumValue,
const QString &  enumName,
const QString &  iconFilename 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

CSVWorld::CommandDelegate * CSVWorld::DataDisplayDelegateFactory::makeDelegate ( CSMWorld::CommandDispatcher dispatcher,
CSMDoc::Document document,
QObject parent 
) const
virtual

The ownership of the returned CommandDelegate is transferred to the caller.

Reimplemented from CSVWorld::EnumDelegateFactory.

Reimplemented in CSVWorld::RecordStatusDelegateFactory, and CSVWorld::IdTypeDelegateFactory.

Member Data Documentation

DataDisplayDelegate::IconList CSVWorld::DataDisplayDelegateFactory::mIcons
protected

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