umbrello: umbrello/codegenerators/cpp/cppcodecomment.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
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

cppcodecomment.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 CPPCODECOMMENT_H
9#define CPPCODECOMMENT_H
10
11#include "codecomment.h"
12
13#include <QString>
14
20 class CPPCodeComment : virtual public CodeComment
21{
22public:
23
27 explicit CPPCodeComment (CodeDocument * doc, const QString & text = QString());
28
32 virtual ~CPPCodeComment ();
33
37 virtual void saveToXMI(QXmlStreamWriter& writer);
38
42 QString toString () const;
43
48 virtual QString unformatText (const QString & text, const QString & indent = QString());
49
54 virtual QString getNewEditorLine (int amount);
55
56};
57
58#endif // CPPCODECOMMENT_H
CPPCodeComment
Definition cppcodecomment.h:21
CPPCodeComment::saveToXMI
virtual void saveToXMI(QXmlStreamWriter &writer)
Definition cppcodecomment.cpp:24
CPPCodeComment::~CPPCodeComment
virtual ~CPPCodeComment()
Definition cppcodecomment.cpp:20
CPPCodeComment::unformatText
virtual QString unformatText(const QString &text, const QString &indent=QString())
Definition cppcodecomment.cpp:53
CPPCodeComment::getNewEditorLine
virtual QString getNewEditorLine(int amount)
Definition cppcodecomment.cpp:47
CPPCodeComment::toString
QString toString() const
Definition cppcodecomment.cpp:32
CodeComment
Definition codecomment.h:20
CodeDocument
Definition codedocument.h:30
codecomment.h