umbrello  2.31.90
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(QXmlStreamWriter& writer);
31  virtual void loadFromXMI1(QDomElement & root);
32 
33 protected:
34 
35 private:
36 
37 };
38 
39 #endif // CODECOMMENT_H
Definition: codecomment.h:24
virtual ~CodeComment()
Definition: codecomment.cpp:24
CodeComment(CodeDocument *doc, const QString &comment=QString())
Definition: codecomment.cpp:16
virtual void loadFromXMI1(QDomElement &root)
Definition: codecomment.cpp:42
virtual void saveToXMI1(QXmlStreamWriter &writer)
Definition: codecomment.cpp:31
Definition: codedocument.h:34
Definition: textblock.h:27