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

umbrello 2.38.5 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

javacodedocumentation.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-2021 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef JAVACODEDOCUMENTATION_H
9#define JAVACODEDOCUMENTATION_H
10
11#include "codecomment.h"
12
13#include <QString>
14
15class JavaClassifierCodeDocument;
16
23 class JavaCodeDocumentation : virtual public CodeComment
24{
25public:
26
30 explicit JavaCodeDocumentation (JavaClassifierCodeDocument * doc, const QString & text = QString());
31
35 virtual ~JavaCodeDocumentation ();
36
40 virtual void saveToXMI(QXmlStreamWriter& writer);
41
45 QString toString () const;
46
51 virtual QString unformatText (const QString & text, const QString & indent = QString());
52
57 virtual QString getNewEditorLine (int amount);
58
67 virtual int firstEditableLine();
68 virtual int lastEditableLine();
69
70
71protected:
72
73private:
74
75};
76
77#endif // JAVACODEDOCUMENTATION_H
CodeComment
Definition codecomment.h:20
JavaClassifierCodeDocument
Definition javaclassifiercodedocument.h:29
JavaCodeDocumentation
Definition javacodedocumentation.h:24
JavaCodeDocumentation::toString
QString toString() const
Definition javacodedocumentation.cpp:42
JavaCodeDocumentation::unformatText
virtual QString unformatText(const QString &text, const QString &indent=QString())
Definition javacodedocumentation.cpp:103
JavaCodeDocumentation::getNewEditorLine
virtual QString getNewEditorLine(int amount)
Definition javacodedocumentation.cpp:73
JavaCodeDocumentation::firstEditableLine
virtual int firstEditableLine()
Definition javacodedocumentation.cpp:82
JavaCodeDocumentation::JavaCodeDocumentation
JavaCodeDocumentation(JavaClassifierCodeDocument *doc, const QString &text=QString())
Definition javacodedocumentation.cpp:19
JavaCodeDocumentation::~JavaCodeDocumentation
virtual ~JavaCodeDocumentation()
Definition javacodedocumentation.cpp:24
JavaCodeDocumentation::lastEditableLine
virtual int lastEditableLine()
Definition javacodedocumentation.cpp:90
JavaCodeDocumentation::saveToXMI
virtual void saveToXMI(QXmlStreamWriter &writer)
Definition javacodedocumentation.cpp:31
codecomment.h