umbrello
2.32.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
umbrello
codegenerators
cpp
cppcodecomment.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 CPPCODECOMMENT_H
13
#define CPPCODECOMMENT_H
14
15
#include "
codecomment.h
"
16
17
#include <QString>
18
24
class
CPPCodeComment
:
virtual
public
CodeComment
25
{
26
public
:
27
31
explicit
CPPCodeComment
(
CodeDocument
* doc,
const
QString & text = QString());
32
36
virtual
~CPPCodeComment
();
37
41
virtual
void
saveToXMI1
(QXmlStreamWriter& writer);
42
46
QString
toString
()
const
;
47
52
virtual
QString
unformatText
(
const
QString & text,
const
QString & indent = QString());
53
58
virtual
QString
getNewEditorLine
(
int
amount);
59
60
};
61
62
#endif
// CPPCODECOMMENT_H
CPPCodeComment
Definition:
cppcodecomment.h:25
CPPCodeComment::saveToXMI1
virtual void saveToXMI1(QXmlStreamWriter &writer)
Definition:
cppcodecomment.cpp:28
CPPCodeComment::~CPPCodeComment
virtual ~CPPCodeComment()
Definition:
cppcodecomment.cpp:24
CPPCodeComment::unformatText
virtual QString unformatText(const QString &text, const QString &indent=QString())
Definition:
cppcodecomment.cpp:57
CPPCodeComment::getNewEditorLine
virtual QString getNewEditorLine(int amount)
Definition:
cppcodecomment.cpp:51
CPPCodeComment::toString
QString toString() const
Definition:
cppcodecomment.cpp:36
CPPCodeComment::CPPCodeComment
CPPCodeComment(CodeDocument *doc, const QString &text=QString())
Definition:
cppcodecomment.cpp:19
CodeComment
Definition:
codecomment.h:24
CodeDocument
Definition:
codedocument.h:34
codecomment.h
Generated by
1.9.1