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

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

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{
23 public:
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
52 protected:
53
54 private:
55
56};
57
58#endif // JAVACODECOMMENT_H
CodeComment
Definition codecomment.h:20
CodeDocument
Definition codedocument.h:30
JavaCodeComment
Definition javacodecomment.h:22
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