#include <document.hpp>
|
| | Document (const VFS::Manager *vfs, const Files::ConfigurationManager &configuration, const std::vector< boost::filesystem::path > &files, bool new_, const boost::filesystem::path &savePath, const boost::filesystem::path &resDir, const Fallback::Map *fallback, ToUTF8::FromType encoding, const CSMWorld::ResourcesManager &resourcesManager, const std::vector< std::string > &blacklistedScripts) |
| |
| | ~Document () |
| |
| const VFS::Manager * | getVFS () const |
| |
| QUndoStack & | getUndoStack () |
| |
| int | getState () const |
| |
| const boost::filesystem::path & | getSavePath () const |
| |
| const boost::filesystem::path & | getProjectPath () const |
| |
const std::vector
< boost::filesystem::path > & | getContentFiles () const |
| |
| bool | isNew () const |
| | Is this a newly created content file? More...
|
| |
| void | save () |
| |
| CSMWorld::UniversalId | verify (const CSMWorld::UniversalId &reportId=CSMWorld::UniversalId()) |
| |
| CSMWorld::UniversalId | newSearch () |
| |
| void | runSearch (const CSMWorld::UniversalId &searchId, const CSMTools::Search &search) |
| |
| void | runMerge (std::auto_ptr< CSMDoc::Document > target) |
| |
| void | abortOperation (int type) |
| |
| const CSMWorld::Data & | getData () const |
| |
| CSMWorld::Data & | getData () |
| |
| CSMTools::ReportModel * | getReport (const CSMWorld::UniversalId &id) |
| | The ownership of the returned report is not transferred. More...
|
| |
| bool | isBlacklisted (const CSMWorld::UniversalId &id) const |
| |
| void | startRunning (const std::string &profile, const std::string &startupInstruction="") |
| |
| void | stopRunning () |
| |
| QTextDocument * | getRunLog () |
| |
| CSMWorld::IdCompletionManager & | getIdCompletionManager () |
| |
| void | flagAsDirty () |
| |
| CSMDoc::Document::Document |
( |
const Document & |
| ) |
|
|
private |
| CSMDoc::Document::~Document |
( |
| ) |
|
| void CSMDoc::Document::abortOperation |
( |
int |
type | ) |
|
| void CSMDoc::Document::addGmsts |
( |
| ) |
|
|
private |
| void CSMDoc::Document::addOptionalGlobal |
( |
const ESM::Global & |
global | ) |
|
|
private |
| void CSMDoc::Document::addOptionalGlobals |
( |
| ) |
|
|
private |
| void CSMDoc::Document::addOptionalGmsts |
( |
| ) |
|
|
private |
| void CSMDoc::Document::addOptionalMagicEffect |
( |
const ESM::MagicEffect & |
effect | ) |
|
|
private |
| void CSMDoc::Document::addOptionalMagicEffects |
( |
| ) |
|
|
private |
| void CSMDoc::Document::createBase |
( |
| ) |
|
|
private |
| void CSMDoc::Document::flagAsDirty |
( |
| ) |
|
| const std::vector< boost::filesystem::path > & CSMDoc::Document::getContentFiles |
( |
| ) |
const |
- Attention
- The last element in this collection is the file that is being edited, but with its original path instead of the save path.
| const boost::filesystem::path & CSMDoc::Document::getProjectPath |
( |
| ) |
const |
The ownership of the returned report is not transferred.
| QTextDocument * CSMDoc::Document::getRunLog |
( |
| ) |
|
| const boost::filesystem::path & CSMDoc::Document::getSavePath |
( |
| ) |
const |
| int CSMDoc::Document::getState |
( |
| ) |
const |
| QUndoStack & CSMDoc::Document::getUndoStack |
( |
| ) |
|
| bool CSMDoc::Document::isNew |
( |
| ) |
const |
Is this a newly created content file?
- Attention
- When this signal is emitted, *this hands over the ownership of the document. This signal must be handled to avoid a leak.
| void CSMDoc::Document::modificationStateChanged |
( |
bool |
clean | ) |
|
|
privateslot |
| void CSMDoc::Document::operationDone |
( |
int |
type, |
|
|
bool |
failed |
|
) |
| |
|
privateslot |
| void CSMDoc::Document::progress |
( |
int |
current, |
|
|
int |
max, |
|
|
int |
type |
|
) |
| |
|
slot |
- Todo:
- find a better way to get these messages to the user.
| void CSMDoc::Document::runStateChanged |
( |
| ) |
|
|
privateslot |
| void CSMDoc::Document::save |
( |
| ) |
|
| void CSMDoc::Document::startRunning |
( |
const std::string & |
profile, |
|
|
const std::string & |
startupInstruction = "" |
|
) |
| |
| void CSMDoc::Document::stopRunning |
( |
| ) |
|
| std::vector<boost::filesystem::path> CSMDoc::Document::mContentFiles |
|
private |
| bool CSMDoc::Document::mDirty |
|
private |
| bool CSMDoc::Document::mNew |
|
private |
| boost::filesystem::path CSMDoc::Document::mProjectPath |
|
private |
| boost::filesystem::path CSMDoc::Document::mResDir |
|
private |
| Runner CSMDoc::Document::mRunner |
|
private |
| boost::filesystem::path CSMDoc::Document::mSavePath |
|
private |
| Saving CSMDoc::Document::mSavingOperation |
|
private |
| QUndoStack CSMDoc::Document::mUndoStack |
|
private |
The documentation for this class was generated from the following files:
- /home/travis/build/OpenMW/openmw/apps/opencs/model/doc/document.hpp
- /home/travis/build/OpenMW/openmw/apps/opencs/model/doc/document.cpp