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

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

dcodecomment.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-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef DCODECOMMENT_H
9#define DCODECOMMENT_H
10
11#include "codecomment.h"
12
13#include <QString>
14
21 class DCodeComment : virtual public CodeComment
22{
23public:
24
28 explicit DCodeComment (CodeDocument * doc, const QString & text = QString());
29
33 virtual ~DCodeComment ();
34
38 virtual void saveToXMI1(QXmlStreamWriter& writer);
39
48 QString toString () const;
49
54 virtual QString unformatText (const QString & text, const QString & indent = QString());
55
60 virtual QString getNewEditorLine (int amount);
61};
62
63#endif // DCODECOMMENT_H
CodeComment
Definition: codecomment.h:20
CodeDocument
Definition: codedocument.h:30
DCodeComment
Definition: dcodecomment.h:22
DCodeComment::getNewEditorLine
virtual QString getNewEditorLine(int amount)
Definition: dcodecomment.cpp:58
DCodeComment::~DCodeComment
virtual ~DCodeComment()
Definition: dcodecomment.cpp:19
DCodeComment::saveToXMI1
virtual void saveToXMI1(QXmlStreamWriter &writer)
Definition: dcodecomment.cpp:23
DCodeComment::unformatText
virtual QString unformatText(const QString &text, const QString &indent=QString())
Definition: dcodecomment.cpp:65
DCodeComment::toString
QString toString() const
Definition: dcodecomment.cpp:33
DCodeComment::DCodeComment
DCodeComment(CodeDocument *doc, const QString &text=QString())
Definition: dcodecomment.cpp:14
codecomment.h