umbrello: umbrello/codegenerators/cpp/cppcodedocumentation.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

cppcodedocumentation.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 CPPCODEDOCUMENTATION_H
9#define CPPCODEDOCUMENTATION_H
10
11#include "codecomment.h"
12
13#include <QString>
14
15class CodeDocument;
16
23 class CPPCodeDocumentation : virtual public CodeComment
24{
25public:
26
30 explicit CPPCodeDocumentation (CodeDocument * doc, const QString & text = QString());
31
35 virtual ~CPPCodeDocumentation ();
36
40 virtual void saveToXMI(QXmlStreamWriter& writer);
41
45 QString toString () const;
46
50 virtual QString unformatText (const QString & text, const QString & indent = QString());
51
55 virtual QString getNewEditorLine (int amount);
56
64 virtual int firstEditableLine();
65 virtual int lastEditableLine();
66
67protected:
68
69private:
70
71};
72
73#endif // CPPCODEDOCUMENTATION_H
CPPCodeDocumentation
Definition: cppcodedocumentation.h:24
CPPCodeDocumentation::~CPPCodeDocumentation
virtual ~CPPCodeDocumentation()
Definition: cppcodedocumentation.cpp:25
CPPCodeDocumentation::unformatText
virtual QString unformatText(const QString &text, const QString &indent=QString())
Definition: cppcodedocumentation.cpp:104
CPPCodeDocumentation::getNewEditorLine
virtual QString getNewEditorLine(int amount)
Definition: cppcodedocumentation.cpp:74
CPPCodeDocumentation::saveToXMI
virtual void saveToXMI(QXmlStreamWriter &writer)
Definition: cppcodedocumentation.cpp:32
CPPCodeDocumentation::firstEditableLine
virtual int firstEditableLine()
Definition: cppcodedocumentation.cpp:83
CPPCodeDocumentation::toString
QString toString() const
Definition: cppcodedocumentation.cpp:43
CPPCodeDocumentation::lastEditableLine
virtual int lastEditableLine()
Definition: cppcodedocumentation.cpp:91
CodeComment
Definition: codecomment.h:20
CodeDocument
Definition: codedocument.h:30
codecomment.h