umbrello API Documentation

rubycodedocumentation.h

00001 /***************************************************************************
00002                           rubycodedocumentation.h
00003                           Derived from the Java code generator by thomas
00004 
00005     begin                : Thur Jul 21 2005
00006     author               : Richard Dale
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  *   copyright (C) 2006-2007                                               *
00017  *   Umbrello UML Modeller Authors <uml-devel@uml.sf.net>                  *
00018  ***************************************************************************/
00019 
00020 #ifndef RUBYCODEDOCUMENTATION_H
00021 #define RUBYCODEDOCUMENTATION_H
00022 
00023 #include <qstring.h>
00024 #include "../codecomment.h"
00025 
00026 class RubyClassifierCodeDocument;
00027 
00035 class RubyCodeDocumentation : virtual public CodeComment
00036 {
00037     Q_OBJECT
00038 public:
00039 
00040     // Constructors/Destructors
00041     //
00042 
00043 
00047     explicit RubyCodeDocumentation ( RubyClassifierCodeDocument * doc, const QString & text = "");
00048 
00052     virtual ~RubyCodeDocumentation ( );
00053 
00054     // Public attributes
00055     //
00056 
00057     // Other
00058     //
00059 
00063     virtual void saveToXMI ( QDomDocument & doc, QDomElement & root );
00064 
00068     QString toString ( );
00069 
00073     virtual QString unformatText ( const QString & text, const QString & indent = "" );
00074 
00078     virtual QString getNewEditorLine ( int amount );
00079 
00087     virtual int firstEditableLine();
00088     virtual int lastEditableLine();
00089 
00090 
00091 protected:
00092 
00093 private:
00094 
00095 };
00096 
00097 #endif // RUBYCODEDOCUMENTATION_H
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:08:00 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003