umbrello 2.39.2 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

javaclassdeclarationblock.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2003 Brian Thomas <thomas@mail630.gsfc.nasa.gov>
5 SPDX-FileCopyrightText: 2004-2022 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef JAVACLASSDECLARATIONBLOCK_H
9#define JAVACLASSDECLARATIONBLOCK_H
10
11#include "javaclassifiercodedocument.h"
12#include "ownedhierarchicalcodeblock.h"
13
14#include <QString>
15
16 class JavaClassDeclarationBlock : public OwnedHierarchicalCodeBlock
17{
18 Q_OBJECT
19 public:
20
24 explicit JavaClassDeclarationBlock (JavaClassifierCodeDocument * parentDoc, const QString &start = QString(), const QString &endText = QStringLiteral("}"), const QString &comment = QString());
25
29 virtual ~JavaClassDeclarationBlock ();
30
34 virtual void saveToXMI(QXmlStreamWriter& writer);
35
39 virtual void loadFromXMI (QDomElement & root);
40
44 void updateContent ();
45
46 private:
47
48 void init (JavaClassifierCodeDocument * parent, const QString &comment);
49
50};
51
52#endif // JAVACLASSDECLARATIONBLOCK_H
JavaClassDeclarationBlock
Definition javaclassdeclarationblock.h:17
JavaClassDeclarationBlock::JavaClassDeclarationBlock
JavaClassDeclarationBlock(JavaClassifierCodeDocument *parentDoc, const QString &start=QString(), const QString &endText=QStringLiteral("}"), const QString &comment=QString())
Definition javaclassdeclarationblock.cpp:16
JavaClassDeclarationBlock::init
void init(JavaClassifierCodeDocument *parent, const QString &comment)
Definition javaclassdeclarationblock.cpp:133
JavaClassDeclarationBlock::loadFromXMI
virtual void loadFromXMI(QDomElement &root)
Definition javaclassdeclarationblock.cpp:39
JavaClassDeclarationBlock::~JavaClassDeclarationBlock
virtual ~JavaClassDeclarationBlock()
Definition javaclassdeclarationblock.cpp:22
JavaClassDeclarationBlock::saveToXMI
virtual void saveToXMI(QXmlStreamWriter &writer)
Definition javaclassdeclarationblock.cpp:29
JavaClassDeclarationBlock::updateContent
void updateContent()
Definition javaclassdeclarationblock.cpp:47
JavaClassifierCodeDocument
Definition javaclassifiercodedocument.h:29
OwnedHierarchicalCodeBlock
Definition ownedhierarchicalcodeblock.h:23
javaclassifiercodedocument.h
ownedhierarchicalcodeblock.h