umbrello: umbrello/codegenerators/java/javacodecomment.h Source File

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

javacodecomment.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-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef JAVACODECOMMENT_H
9#define JAVACODECOMMENT_H
10
11#include "codecomment.h"
12
13#include <QString>
14
21 class JavaCodeComment : virtual public CodeComment
22{
23public:
24
28 explicit JavaCodeComment (CodeDocument * doc, const QString & text = QString());
29
33 virtual ~JavaCodeComment ();
34
38 QString toString () const;
39
44 virtual QString unformatText (const QString & text, const QString & indent = QString());
45
50 virtual QString getNewEditorLine (int amount);
51
52protected:
53
54private:
55
56};
57
58#endif // JAVACODECOMMENT_H
CodeComment::CodeComment
CodeComment(CodeDocument *doc, const QString &comment=QString())
Definition codecomment.cpp:12
CodeDocument
Definition codedocument.h:30
JavaCodeComment::toString
QString toString() const
Definition javacodecomment.cpp:43
JavaCodeComment::getNewEditorLine
virtual QString getNewEditorLine(int amount)
Definition javacodecomment.cpp:21
JavaCodeComment::JavaCodeComment
JavaCodeComment(CodeDocument *doc, const QString &text=QString())
Definition javacodecomment.cpp:12
JavaCodeComment::unformatText
virtual QString unformatText(const QString &text, const QString &indent=QString())
Definition javacodecomment.cpp:30
JavaCodeComment::~JavaCodeComment
virtual ~JavaCodeComment()
Definition javacodecomment.cpp:17
codecomment.h