umbrello: umbrello/codegenerators/d/dcodedocumentation.h Source File

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

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

- File List
- File Members

dcodedocumentation.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2007 Jari-Matti Mäkelä <jmjm@iki.fi>
5 SPDX-FileCopyrightText: 2008-2021 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef DCODEDOCUMENTATION_H
9#define DCODEDOCUMENTATION_H
10
11#include "codecomment.h"
12
13#include <QString>
14
15class CodeDocument;
16
23 class DCodeDocumentation : virtual public CodeComment
24{
25public:
26
30 explicit DCodeDocumentation (CodeDocument * doc, const QString & text = QString());
31
35 virtual ~DCodeDocumentation ();
36
40 virtual void saveToXMI(QXmlStreamWriter& writer);
41
50 QString toString () const;
51
56 virtual QString unformatText (const QString & text, const QString & indent = QString());
57
62 virtual QString getNewEditorLine (int amount);
63
72 virtual int firstEditableLine();
73 virtual int lastEditableLine();
74
75};
76
77#endif // DCODEDOCUMENTATION_H
CodeComment
Definition codecomment.h:20
CodeDocument
Definition codedocument.h:30
DCodeDocumentation
Definition dcodedocumentation.h:24
DCodeDocumentation::getNewEditorLine
virtual QString getNewEditorLine(int amount)
Definition dcodedocumentation.cpp:70
DCodeDocumentation::toString
QString toString() const
Definition dcodedocumentation.cpp:37
DCodeDocumentation::~DCodeDocumentation
virtual ~DCodeDocumentation()
Definition dcodedocumentation.cpp:25
DCodeDocumentation::lastEditableLine
virtual int lastEditableLine()
Definition dcodedocumentation.cpp:87
DCodeDocumentation::unformatText
virtual QString unformatText(const QString &text, const QString &indent=QString())
Definition dcodedocumentation.cpp:101
DCodeDocumentation::firstEditableLine
virtual int firstEditableLine()
Definition dcodedocumentation.cpp:79
DCodeDocumentation::saveToXMI
virtual void saveToXMI(QXmlStreamWriter &writer)
Definition dcodedocumentation.cpp:29
codecomment.h