umbrello: umbrello/codegenerators/codecomment.h Source File

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

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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-2021 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{
21public:
22
23 explicit CodeComment(CodeDocument * doc, const QString & comment = QString());
24 virtual ~CodeComment();
25
26 virtual void saveToXMI(QXmlStreamWriter& writer);
27 virtual void loadFromXMI(QDomElement & root);
28
29protected:
30
31private:
32
33};
34
35#endif // CODECOMMENT_H
CodeComment
Definition: codecomment.h:20
CodeComment::~CodeComment
virtual ~CodeComment()
Definition: codecomment.cpp:20
CodeComment::saveToXMI
virtual void saveToXMI(QXmlStreamWriter &writer)
Definition: codecomment.cpp:27
CodeComment::loadFromXMI
virtual void loadFromXMI(QDomElement &root)
Definition: codecomment.cpp:38
CodeDocument
Definition: codedocument.h:30
TextBlock
Definition: textblock.h:23
textblock.h