add/extend helper classes to savely access document, document objects or view providers

This commit is contained in:
wmayer
2018-10-31 11:24:45 +01:00
parent c50f6aea53
commit 42601fc4e4
4 changed files with 251 additions and 6 deletions

View File

@@ -48,12 +48,16 @@ public:
DocumentT();
/*! Constructor */
DocumentT(Document*);
/*! Constructor */
DocumentT(const std::string&);
/*! Destructor */
~DocumentT();
/*! Assignment operator */
void operator=(const DocumentT&);
/*! Assignment operator */
void operator=(const Document*);
/*! Assignment operator */
void operator=(const std::string&);
/*! Get a pointer to the document or 0 if it doesn't exist any more. */
Document* getDocument() const;