umbrello 26.07.70-c53146a 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

rubycodecomment.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-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef RUBYCODECOMMENT_H
9#define RUBYCODECOMMENT_H
10
11#include "codecomment.h"
12
13#include <QString>
14
22 class RubyCodeComment : public CodeComment
23{
24 public:
28 explicit RubyCodeComment (CodeDocument * doc, const QString & text = QString());
29
33 virtual ~RubyCodeComment ();
34
38 QString toString () const;
39
44 virtual QString unformatText (const QString & text, const QString & indent = QString());
45
50 virtual QString getNewEditorLine (int amount);
51
52 protected:
53
54 private:
55
56};
57
58#endif // RUBYCODECOMMENT_H
CodeComment
Definition: codecomment.h:20
CodeDocument
Definition: codedocument.h:30
RubyCodeComment
Definition: rubycodecomment.h:23
RubyCodeComment::unformatText
virtual QString unformatText(const QString &text, const QString &indent=QString())
Definition: rubycodecomment.cpp:27
RubyCodeComment::getNewEditorLine
virtual QString getNewEditorLine(int amount)
Definition: rubycodecomment.cpp:21
RubyCodeComment::toString
QString toString() const
Definition: rubycodecomment.cpp:37
RubyCodeComment::~RubyCodeComment
virtual ~RubyCodeComment()
Definition: rubycodecomment.cpp:17
codecomment.h