umbrello 26.03.70-1a62d36 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

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-2021 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 : public CodeComment
22{
23 public:
24
28 explicit DCodeComment (CodeDocument * doc, const QString & text = QString());
29
33 virtual ~DCodeComment ();
34
38 virtual void saveToXMI(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::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::saveToXMI
virtual void saveToXMI(QXmlStreamWriter &writer)
Definition: dcodecomment.cpp:23
codecomment.h