umbrello: umbrello/codegenerators/codecomment.h Source File

umbrello 2.32.1 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

codecomment.h
Go to the documentation of this file.
1 /*
2 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2003 Brian Thomas <thomas@mail630.gsfc.nasa.gov>
5 SPDX-FileCopyrightText: 2004-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6 */
7
8 #ifndef CODECOMMENT_H
9 #define CODECOMMENT_H
10
11 #include "textblock.h"
12
13 #include <QString>
14
19 class CodeComment : public TextBlock
20 {
21 public:
22
23 explicit CodeComment(CodeDocument * doc, const QString & comment = QString());
24 virtual ~CodeComment();
25
26 virtual void saveToXMI1(QXmlStreamWriter& writer);
27 virtual void loadFromXMI1(QDomElement & root);
28
29 protected:
30
31 private:
32
33 };
34
35 #endif // CODECOMMENT_H
CodeComment
Definition: codecomment.h:20
CodeComment::~CodeComment
virtual ~CodeComment()
Definition: codecomment.cpp:20
CodeComment::CodeComment
CodeComment(CodeDocument *doc, const QString &comment=QString())
Definition: codecomment.cpp:12
CodeComment::loadFromXMI1
virtual void loadFromXMI1(QDomElement &root)
Definition: codecomment.cpp:38
CodeComment::saveToXMI1
virtual void saveToXMI1(QXmlStreamWriter &writer)
Definition: codecomment.cpp:27
CodeDocument
Definition: codedocument.h:30
TextBlock
Definition: textblock.h:23
textblock.h