1 #ifndef CSM_WOLRD_COMMANDDISPATCHER_H
2 #define CSM_WOLRD_COMMANDDISPATCHER_H
42 void setSelection (
const std::vector<std::string>& selection);
UniversalId mId
Definition: commanddispatcher.hpp:26
void setSelection(const std::vector< std::string > &selection)
Definition: commanddispatcher.cpp:94
void setExtendedTypes(const std::vector< UniversalId > &types)
Set record lists selected by the user for extended operations.
Definition: commanddispatcher.cpp:101
std::vector< std::string > getRevertableRecords() const
Definition: commanddispatcher.cpp:53
bool mLocked
Definition: commanddispatcher.hpp:24
void executeDelete()
Definition: commanddispatcher.cpp:183
CSMDoc::Document & mDocument
Definition: commanddispatcher.hpp:25
bool canRevert() const
Definition: commanddispatcher.cpp:114
std::vector< UniversalId > mExtendedTypes
Definition: commanddispatcher.hpp:28
void executeRevert()
Definition: commanddispatcher.cpp:215
void executeModify(QAbstractItemModel *model, const QModelIndex &index, const QVariant &new_)
Definition: commanddispatcher.cpp:136
Definition: commanddispatcher.hpp:20
CommandDispatcher(CSMDoc::Document &document, const CSMWorld::UniversalId &id, QObject *parent=0)
Definition: commanddispatcher.cpp:84
std::vector< std::string > getDeletableRecords() const
Definition: commanddispatcher.cpp:16
bool canDelete() const
Definition: commanddispatcher.cpp:106
Definition: document.hpp:57
void executeExtendedDelete()
Definition: commanddispatcher.cpp:239
void setEditLock(bool locked)
Definition: commanddispatcher.cpp:89
std::vector< std::string > mSelection
Definition: commanddispatcher.hpp:27
std::vector< UniversalId > getExtendedTypes() const
Definition: commanddispatcher.cpp:122
void executeExtendedRevert()
Definition: commanddispatcher.cpp:274
Definition: universalid.hpp:12