umbrello
2.32.3
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
umbrello
codegenerators
ruby
rubycodecomment.h
Go to the documentation of this file.
1
/***************************************************************************
2
* This program is free software; you can redistribute it and/or modify *
3
* it under the terms of the GNU General Public License as published by *
4
* the Free Software Foundation; either version 2 of the License, or *
5
* (at your option) any later version. *
6
* *
7
* copyright (C) 2005 *
8
* Richard Dale <Richard_Dale@tipitina.demon.co.uk> *
9
* copyright (C) 2006-2020 *
10
* Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
11
***************************************************************************/
12
13
#ifndef RUBYCODECOMMENT_H
14
#define RUBYCODECOMMENT_H
15
16
#include "
codecomment.h
"
17
18
#include <QString>
19
27
class
RubyCodeComment
:
virtual
public
CodeComment
28
{
29
public
:
33
explicit
RubyCodeComment
(
CodeDocument
* doc,
const
QString & text = QString());
34
38
virtual
~RubyCodeComment
();
39
43
QString
toString
()
const
;
44
49
virtual
QString
unformatText
(
const
QString & text,
const
QString & indent = QString());
50
55
virtual
QString
getNewEditorLine
(
int
amount);
56
57
protected
:
58
59
private
:
60
61
};
62
63
#endif
// RUBYCODECOMMENT_H
CodeComment
Definition:
codecomment.h:24
CodeDocument
Definition:
codedocument.h:33
RubyCodeComment
Definition:
rubycodecomment.h:28
RubyCodeComment::unformatText
virtual QString unformatText(const QString &text, const QString &indent=QString())
Definition:
rubycodecomment.cpp:32
RubyCodeComment::RubyCodeComment
RubyCodeComment(CodeDocument *doc, const QString &text=QString())
Definition:
rubycodecomment.cpp:17
RubyCodeComment::getNewEditorLine
virtual QString getNewEditorLine(int amount)
Definition:
rubycodecomment.cpp:26
RubyCodeComment::toString
QString toString() const
Definition:
rubycodecomment.cpp:42
RubyCodeComment::~RubyCodeComment
virtual ~RubyCodeComment()
Definition:
rubycodecomment.cpp:22
codecomment.h
Generated by
1.9.1