ACF $AcfVersion:0$
ITextDocument.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// Qt includes
6#include <QtCore/QString>
7
8// ACF includes
10
11
12namespace idoc
13{
14
15
56{
57public:
62 virtual QString GetText() const = 0;
63
70 virtual void SetText(const QString& text) = 0;
71};
72
73
74} // namespace idoc
75
76
77
78
Simple interface for a text document.
virtual QString GetText() const =0
Get document text.
virtual void SetText(const QString &text)=0
Set document text.
Common class for all classes which objects can be archived or restored from archive.
Contains the system independent basic implementations of Document/View design pattern.