umbrello: umbrello/codegenerators/codecomment.h Source File

umbrello 2.31.0 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 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2003 Brian Thomas <thomas@mail630.gsfc.nasa.gov> *
8 * copyright (C) 2004-2020 *
9 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10 ***************************************************************************/
11
12 #ifndef CODECOMMENT_H
13 #define CODECOMMENT_H
14
15 #include "textblock.h"
16
17 #include <QString>
18
23 class CodeComment : public TextBlock
24 {
25 public:
26
27 explicit CodeComment(CodeDocument * doc, const QString & comment = QString());
28 virtual ~CodeComment();
29
30 virtual void saveToXMI1(QDomDocument & doc, QDomElement & root);
31 virtual void loadFromXMI1(QDomElement & root);
32
33 protected:
34
35 private:
36
37 };
38
39 #endif // CODECOMMENT_H
TextBlock::setAttributesFromNode
virtual void setAttributesFromNode(QDomElement &root)
Definition: textblock.cpp:361
textblock.h
CodeComment
Definition: codecomment.h:23
CodeComment::saveToXMI1
virtual void saveToXMI1(QDomDocument &doc, QDomElement &root)
Definition: codecomment.cpp:31
CodeDocument
Definition: codedocument.h:32
TextBlock::setAttributesOnNode
virtual void setAttributesOnNode(QDomDocument &doc, QDomElement &blockElement)
Definition: textblock.cpp:322
codedocument.h
CodeComment::~CodeComment
virtual ~CodeComment()
Definition: codecomment.cpp:24
CodeComment::loadFromXMI1
virtual void loadFromXMI1(QDomElement &root)
Definition: codecomment.cpp:42
TextBlock
Definition: textblock.h:24
CodeComment::CodeComment
CodeComment(CodeDocument *doc, const QString &comment=QString())
Definition: codecomment.cpp:16
codecomment.h