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

- Main Page
- Related Pages
- Topics
- 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{
21 public:
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
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::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