rubyclassdeclarationblock.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef RUBYCLASSDECLARATIONBLOCK_H
00018 #define RUBYCLASSDECLARATIONBLOCK_H
00019
00020 #include <qstring.h>
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #include "rubyclassifiercodedocument.h"
00031 #include "../ownedhierarchicalcodeblock.h"
00032
00033 class RubyClassDeclarationBlock : public OwnedHierarchicalCodeBlock
00034 {
00035 Q_OBJECT
00036 public:
00037
00038
00039
00040
00044 explicit RubyClassDeclarationBlock ( RubyClassifierCodeDocument * parentDoc, const QString &start = "", const QString &endText = "end", const QString &comment = "");
00045
00049 virtual ~RubyClassDeclarationBlock ( );
00050
00054 virtual void saveToXMI ( QDomDocument & doc, QDomElement & root );
00055
00059 virtual void loadFromXMI ( QDomElement & root );
00060
00061 protected:
00062
00066 void updateContent ( );
00067
00068 private:
00069
00070 void init (RubyClassifierCodeDocument * parent, const QString &comment);
00071
00072 };
00073
00074 #endif // RUBYCLASSDECLARATIONBLOCK_H
This file is part of the documentation for umbrello Version 3.1.0.