1 #ifndef CSV_DOC_VIEWMANAGER_H
2 #define CSV_DOC_VIEWMANAGER_H
13 class DocumentManager;
Definition: viewmanager.hpp:30
View * addView(CSMDoc::Document *document)
The ownership of the returned view is not transferred.
Definition: viewmanager.cpp:156
virtual ~ViewManager()
Definition: viewmanager.cpp:148
bool closeRequest(View *view)
Definition: viewmanager.cpp:205
void mergeDocument(CSMDoc::Document *document)
static const struct @8 signals[]
bool showSaveInProgressMessageBox(View *view)
Definition: viewmanager.cpp:318
CSVWorld::CommandDelegateFactoryCollection * mDelegateFactories
Definition: viewmanager.hpp:36
bool showModifiedDocumentMessageBox(View *view)
Definition: viewmanager.cpp:263
Definition: documentmanager.hpp:32
void loadDocumentRequest()
ViewManager(const ViewManager &)
int countViews(const CSMDoc::Document *document) const
Return number of views for document.
Definition: viewmanager.cpp:194
void exitApplication(CSVDoc::View *view)
Definition: viewmanager.cpp:425
CSMDoc::DocumentManager & mDocumentManager
Definition: viewmanager.hpp:34
Use commands instead of manipulating the model directly.
Definition: util.hpp:65
void documentStateChanged(int state, CSMDoc::Document *document)
Definition: viewmanager.cpp:372
Definition: loader.hpp:68
void progress(int current, int max, int type, int threads, CSMDoc::Document *document)
Definition: viewmanager.cpp:379
void removeDocAndView(CSMDoc::Document *document)
Definition: viewmanager.cpp:230
bool mExitOnSaveStateChange
Definition: viewmanager.hpp:37
bool mUserWarned
Definition: viewmanager.hpp:38
void updateIndices()
Definition: viewmanager.cpp:29
bool removeDocument(View *view)
Definition: viewmanager.cpp:402
void editSettingsRequest()
Definition: document.hpp:57
bool notifySaveOnClose(View *view=0)
Definition: viewmanager.cpp:247
ViewManager & operator=(const ViewManager &)
Loader mLoader
Definition: viewmanager.hpp:39
void onExitWarningHandler(int state, CSMDoc::Document *document)
Definition: viewmanager.cpp:386
std::vector< View * > mViews
Definition: viewmanager.hpp:35
Definition: universalid.hpp:12