• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

umbrello/umbrello

  • sources
  • kde-4.14
  • kdesdk
  • umbrello
  • 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-2014 *
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
RubyCodeComment::toString
QString toString() const
Definition: rubycodecomment.cpp:42
RubyCodeComment::RubyCodeComment
RubyCodeComment(CodeDocument *doc, const QString &text=QString())
Constructors.
Definition: rubycodecomment.cpp:17
codecomment.h
RubyCodeComment::unformatText
virtual QString unformatText(const QString &text, const QString &indent=QString())
UnFormat a long text string.
Definition: rubycodecomment.cpp:32
CodeDocument
A document containing the code for one file.
Definition: codedocument.h:32
QString
RubyCodeComment::getNewEditorLine
virtual QString getNewEditorLine(int amount)
A special version here because we want to not only indent the new line, but to add the "#" as well...
Definition: rubycodecomment.cpp:26
RubyCodeComment::~RubyCodeComment
virtual ~RubyCodeComment()
Empty Destructor.
Definition: rubycodecomment.cpp:22
CodeComment
Text which will be comments.
Definition: codecomment.h:23
RubyCodeComment
class RubyCodeComment A Ruby code comment.
Definition: rubycodecomment.h:27
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal