umbrello 26.03.70-f7b1fd3 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

rubyclassdeclarationblock.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-2022 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef RUBYCLASSDECLARATIONBLOCK_H
9#define RUBYCLASSDECLARATIONBLOCK_H
10
11#include "rubyclassifiercodedocument.h"
12#include "ownedhierarchicalcodeblock.h"
13
14#include <QString>
15
16 class RubyClassDeclarationBlock : public OwnedHierarchicalCodeBlock
17{
18 Q_OBJECT
19 public:
20
24 explicit RubyClassDeclarationBlock (RubyClassifierCodeDocument * parentDoc, const QString &start = QString(), const QString &endText = QStringLiteral("end"), const QString &comment = QString());
25
29 virtual ~RubyClassDeclarationBlock ();
30
34 void updateContent ();
35
39 virtual void saveToXMI(QXmlStreamWriter& writer);
40
44 virtual void loadFromXMI (QDomElement & root);
45
46 private:
47
48 void init (RubyClassifierCodeDocument * parent, const QString &comment);
49
50};
51
52#endif // RUBYCLASSDECLARATIONBLOCK_H
OwnedHierarchicalCodeBlock
Definition: ownedhierarchicalcodeblock.h:23
RubyClassDeclarationBlock
Definition: rubyclassdeclarationblock.h:17
RubyClassDeclarationBlock::init
void init(RubyClassifierCodeDocument *parent, const QString &comment)
Definition: rubyclassdeclarationblock.cpp:111
RubyClassDeclarationBlock::saveToXMI
virtual void saveToXMI(QXmlStreamWriter &writer)
Definition: rubyclassdeclarationblock.cpp:27
RubyClassDeclarationBlock::updateContent
void updateContent()
Definition: rubyclassdeclarationblock.cpp:47
RubyClassDeclarationBlock::~RubyClassDeclarationBlock
virtual ~RubyClassDeclarationBlock()
Definition: rubyclassdeclarationblock.cpp:20
RubyClassDeclarationBlock::loadFromXMI
virtual void loadFromXMI(QDomElement &root)
Definition: rubyclassdeclarationblock.cpp:39
RubyClassifierCodeDocument
Definition: rubyclassifiercodedocument.h:32
ownedhierarchicalcodeblock.h
rubyclassifiercodedocument.h