umbrello
2.32.0
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
umbrello
codegenerators
java
javacodecomment.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 JAVACODECOMMENT_H
13
#define JAVACODECOMMENT_H
14
15
#include "
codecomment.h
"
16
17
#include <QString>
18
25
class
JavaCodeComment
:
virtual
public
CodeComment
26
{
27
public
:
28
32
explicit
JavaCodeComment
(
CodeDocument
* doc,
const
QString & text = QString());
33
37
virtual
~JavaCodeComment
();
38
42
QString
toString
()
const
;
43
48
virtual
QString
unformatText
(
const
QString & text,
const
QString & indent = QString());
49
54
virtual
QString
getNewEditorLine
(
int
amount);
55
56
protected
:
57
58
private
:
59
60
};
61
62
#endif // JAVACODECOMMENT_H
JavaCodeComment::JavaCodeComment
JavaCodeComment(CodeDocument *doc, const QString &text=QString())
Definition:
javacodecomment.cpp:16
JavaCodeComment::toString
QString toString() const
Definition:
javacodecomment.cpp:47
codecomment.h
CodeDocument
Definition:
codedocument.h:32
JavaCodeComment::unformatText
virtual QString unformatText(const QString &text, const QString &indent=QString())
Definition:
javacodecomment.cpp:34
JavaCodeComment::~JavaCodeComment
virtual ~JavaCodeComment()
Definition:
javacodecomment.cpp:21
JavaCodeComment
Definition:
javacodecomment.h:25
JavaCodeComment::getNewEditorLine
virtual QString getNewEditorLine(int amount)
Definition:
javacodecomment.cpp:25
CodeComment
Definition:
codecomment.h:23
Generated by
1.8.14