ITextDocument.h
Go to the documentation of this file.
1 #ifndef idoc_ITextDocument_included
2 #define idoc_ITextDocument_included
3 
4 
5 #include <QtCore/QString>
6 
7 #include <iser/ISerializable.h>
8 
9 
10 namespace idoc
11 {
12 
13 
17 class ITextDocument: virtual public iser::ISerializable
18 {
19 public:
23  virtual QString GetText() const = 0;
24 
28  virtual void SetText(const QString& text) = 0;
29 };
30 
31 
32 } // namespace idoc
33 
34 
35 #endif // !idoc_ITextDocument_included
36 
37 
virtual QString GetText() const =0
Get document text.
Common class for all classes which objects can be archived or restored from archive.
Definition: ISerializable.h:23
Simple interface for a text document.
Definition: ITextDocument.h:17
virtual void SetText(const QString &text)=0
Set document text.

© 2007-2017 Witold Gantzke and Kirill Lepskiy