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

rubycodedocumentation.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2005 Richard Dale <Richard_Dale@tipitina.demon.co.uk>
5 SPDX-FileCopyrightText: 2006-2021 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef RUBYCODEDOCUMENTATION_H
9#define RUBYCODEDOCUMENTATION_H
10
11#include "codecomment.h"
12
13#include <QString>
14
15 class RubyClassifierCodeDocument;
16
24 class RubyCodeDocumentation : public CodeComment
25{
26 public:
27
31 explicit RubyCodeDocumentation (RubyClassifierCodeDocument * doc, const QString & text = QString());
32
36 virtual ~RubyCodeDocumentation ();
37
41 virtual void saveToXMI(QXmlStreamWriter& writer);
42
46 QString toString () const;
47
52 virtual QString unformatText (const QString & text, const QString & indent = QString());
53
58 virtual QString getNewEditorLine (int amount);
59
68 virtual int firstEditableLine();
69 virtual int lastEditableLine();
70
71 protected:
72
73 private:
74
75};
76
77#endif // RUBYCODEDOCUMENTATION_H
CodeComment
Definition: codecomment.h:20
RubyClassifierCodeDocument
Definition: rubyclassifiercodedocument.h:32
RubyCodeDocumentation
Definition: rubycodedocumentation.h:25
RubyCodeDocumentation::toString
QString toString() const
Definition: rubycodedocumentation.cpp:36
RubyCodeDocumentation::firstEditableLine
virtual int firstEditableLine()
Definition: rubycodedocumentation.cpp:76
RubyCodeDocumentation::~RubyCodeDocumentation
virtual ~RubyCodeDocumentation()
Definition: rubycodedocumentation.cpp:24
RubyCodeDocumentation::saveToXMI
virtual void saveToXMI(QXmlStreamWriter &writer)
Definition: rubycodedocumentation.cpp:28
RubyCodeDocumentation::unformatText
virtual QString unformatText(const QString &text, const QString &indent=QString())
Definition: rubycodedocumentation.cpp:94
RubyCodeDocumentation::getNewEditorLine
virtual QString getNewEditorLine(int amount)
Definition: rubycodedocumentation.cpp:67
RubyCodeDocumentation::lastEditableLine
virtual int lastEditableLine()
Definition: rubycodedocumentation.cpp:84
codecomment.h