OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
CSMWorld::IdCompletionManager Class Reference

Creates and stores all ID completers. More...

#include <idcompletionmanager.hpp>

Collaboration diagram for CSMWorld::IdCompletionManager:

Public Member Functions

 IdCompletionManager (Data &data)
 
bool hasCompleterFor (ColumnBase::Display display) const
 
boost::shared_ptr< QCompleter > getCompleter (ColumnBase::Display display)
 

Static Public Member Functions

static std::vector
< ColumnBase::Display
getDisplayTypes ()
 

Private Member Functions

 IdCompletionManager (const IdCompletionManager &)
 
IdCompletionManageroperator= (const IdCompletionManager &)
 
void generateCompleters (Data &data)
 

Private Attributes

std::map< ColumnBase::Display,
boost::shared_ptr< QCompleter > > 
mCompleters
 

Static Private Attributes

static const std::map
< ColumnBase::Display,
UniversalId::Type
sCompleterModelTypes = generateModelTypes()
 

Detailed Description

Creates and stores all ID completers.

Constructor & Destructor Documentation

CSMWorld::IdCompletionManager::IdCompletionManager ( const IdCompletionManager )
private
CSMWorld::IdCompletionManager::IdCompletionManager ( CSMWorld::Data data)

Member Function Documentation

void CSMWorld::IdCompletionManager::generateCompleters ( CSMWorld::Data data)
private

Here is the call graph for this function:

boost::shared_ptr< QCompleter > CSMWorld::IdCompletionManager::getCompleter ( ColumnBase::Display  display)

Here is the caller graph for this function:

std::vector< CSMWorld::ColumnBase::Display > CSMWorld::IdCompletionManager::getDisplayTypes ( )
static

Here is the caller graph for this function:

bool CSMWorld::IdCompletionManager::hasCompleterFor ( ColumnBase::Display  display) const
IdCompletionManager& CSMWorld::IdCompletionManager::operator= ( const IdCompletionManager )
private

Member Data Documentation

std::map<ColumnBase::Display, boost::shared_ptr<QCompleter> > CSMWorld::IdCompletionManager::mCompleters
private
const std::map< CSMWorld::ColumnBase::Display, CSMWorld::UniversalId::Type > CSMWorld::IdCompletionManager::sCompleterModelTypes = generateModelTypes()
staticprivate

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