OpenMW
Public Member Functions | Private Member Functions | Private Attributes
CSMWorld::IdTableProxyModel Class Reference

#include <idtableproxymodel.hpp>

List of all members.

Public Member Functions

 IdTableProxyModel (QObject *parent=0)
virtual QModelIndex getModelIndex (const std::string &id, int column) const
void setFilter (const boost::shared_ptr< CSMFilter::Node > &filter)

Private Member Functions

void updateColumnMap ()
bool filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const

Private Attributes

boost::shared_ptr
< CSMFilter::Node
mFilter
std::map< int, int > mColumnMap

Constructor & Destructor Documentation


Member Function Documentation

bool CSMWorld::IdTableProxyModel::filterAcceptsRow ( int  sourceRow,
const QModelIndex &  sourceParent 
) const [private]
QModelIndex CSMWorld::IdTableProxyModel::getModelIndex ( const std::string &  id,
int  column 
) const [virtual]
void CSMWorld::IdTableProxyModel::setFilter ( const boost::shared_ptr< CSMFilter::Node > &  filter)

Member Data Documentation

std::map<int, int> CSMWorld::IdTableProxyModel::mColumnMap [private]

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