Signals |
void | idListChanged () |
Public Member Functions |
| Data () |
virtual | ~Data () |
const IdCollection< ESM::Global > & | getGlobals () const |
IdCollection< ESM::Global > & | getGlobals () |
const IdCollection
< ESM::GameSetting > & | getGmsts () const |
IdCollection< ESM::GameSetting > & | getGmsts () |
const IdCollection< ESM::Skill > & | getSkills () const |
IdCollection< ESM::Skill > & | getSkills () |
const IdCollection< ESM::Class > & | getClasses () const |
IdCollection< ESM::Class > & | getClasses () |
const IdCollection
< ESM::Faction > & | getFactions () const |
IdCollection< ESM::Faction > & | getFactions () |
const IdCollection< ESM::Race > & | getRaces () const |
IdCollection< ESM::Race > & | getRaces () |
const IdCollection< ESM::Sound > & | getSounds () const |
IdCollection< ESM::Sound > & | getSounds () |
const IdCollection< ESM::Script > & | getScripts () const |
IdCollection< ESM::Script > & | getScripts () |
const IdCollection< ESM::Region > & | getRegions () const |
IdCollection< ESM::Region > & | getRegions () |
const IdCollection
< ESM::BirthSign > & | getBirthsigns () const |
IdCollection< ESM::BirthSign > & | getBirthsigns () |
const IdCollection< ESM::Spell > & | getSpells () const |
IdCollection< ESM::Spell > & | getSpells () |
const IdCollection
< ESM::Dialogue > & | getTopics () const |
IdCollection< ESM::Dialogue > & | getTopics () |
const IdCollection
< ESM::Dialogue > & | getJournals () const |
IdCollection< ESM::Dialogue > & | getJournals () |
const InfoCollection & | getTopicInfos () const |
InfoCollection & | getTopicInfos () |
const InfoCollection & | getJournalInfos () const |
InfoCollection & | getJournalInfos () |
const IdCollection< Cell > & | getCells () const |
IdCollection< Cell > & | getCells () |
const RefIdCollection & | getReferenceables () const |
RefIdCollection & | getReferenceables () |
const RefCollection & | getReferences () const |
RefCollection & | getReferences () |
const IdCollection
< CSMFilter::Filter > & | getFilters () const |
IdCollection< CSMFilter::Filter > & | getFilters () |
QAbstractItemModel * | getTableModel (const UniversalId &id) |
void | merge () |
| Merge modified into base.
|
void | loadFile (const boost::filesystem::path &path, bool base, bool project) |
bool | hasId (const std::string &id) const |
std::vector< std::string > | getIds (bool listDeleted=true) const |
int | count (RecordBase::State state) const |
| Return number of top-level records with the given state.
|
void | setDescription (const std::string &description) |
std::string | getDescription () const |
void | setAuthor (const std::string &author) |
std::string | getAuthor () const |
Private Slots |
void | dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
void | rowsChanged (const QModelIndex &parent, int start, int end) |
Private Member Functions |
| Data (const Data &) |
Data & | operator= (const Data &) |
void | addModel (QAbstractItemModel *model, UniversalId::Type type1, UniversalId::Type type2=UniversalId::Type_None, bool update=true) |
Static Private Member Functions |
static void | appendIds (std::vector< std::string > &ids, const CollectionBase &collection, bool listDeleted) |
| Append all IDs from collection to ids.
|
static int | count (RecordBase::State state, const CollectionBase &collection) |
Private Attributes |
IdCollection< ESM::Global > | mGlobals |
IdCollection< ESM::GameSetting > | mGmsts |
IdCollection< ESM::Skill > | mSkills |
IdCollection< ESM::Class > | mClasses |
IdCollection< ESM::Faction > | mFactions |
IdCollection< ESM::Race > | mRaces |
IdCollection< ESM::Sound > | mSounds |
IdCollection< ESM::Script > | mScripts |
IdCollection< ESM::Region > | mRegions |
IdCollection< ESM::BirthSign > | mBirthsigns |
IdCollection< ESM::Spell > | mSpells |
IdCollection< ESM::Dialogue > | mTopics |
IdCollection< ESM::Dialogue > | mJournals |
InfoCollection | mTopicInfos |
InfoCollection | mJournalInfos |
IdCollection< Cell > | mCells |
RefIdCollection | mReferenceables |
RefCollection | mRefs |
IdCollection< CSMFilter::Filter > | mFilters |
std::vector< QAbstractItemModel * > | mModels |
std::map< UniversalId::Type,
QAbstractItemModel * > | mModelIndex |
std::string | mAuthor |
std::string | mDescription |