umbrello: umbrello/codegenerators/java/javacodegenerationpolicypage.h Source File

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

javacodegenerationpolicypage.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: 2003-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef JAVACODEGENERATIONPOLICYPAGE_H
9#define JAVACODEGENERATIONPOLICYPAGE_H
10
11#include "codegenerationpolicypage.h"
12#include "ui_javacodegenerationformbase.h"
13#include "javacodegenerationpolicy.h"
14
18
19 class JavaCodeGenerationFormBase : public QWidget, public Ui::JavaCodeGenerationFormBase
20{
21public:
22 explicit JavaCodeGenerationFormBase(QWidget *parent) : QWidget(parent)
23 {
24 setupUi(this);
25 }
26};
27
28
29 class JavaCodeGenerationPolicyPage : public CodeGenerationPolicyPage
30{
31 Q_OBJECT
32public:
33
34 explicit JavaCodeGenerationPolicyPage (QWidget *parent= nullptr, const char *name= nullptr, JavaCodeGenerationPolicy *policy = nullptr);
35
36 virtual ~JavaCodeGenerationPolicyPage();
37
38protected:
39
40 JavaCodeGenerationFormBase * form;
41
42public Q_SLOTS:
43
44 void apply();
45
46};
47
48#endif
49
CodeGenerationPolicyPage::CodeGenerationPolicyPage
CodeGenerationPolicyPage(QWidget *parent=nullptr, const char *name=nullptr, CodeGenPolicyExt *policy=nullptr)
Definition codegenerationpolicypage.cpp:20
JavaCodeGenerationFormBase
Definition javacodegenerationpolicypage.h:20
JavaCodeGenerationFormBase::JavaCodeGenerationFormBase
JavaCodeGenerationFormBase(QWidget *parent)
Definition javacodegenerationpolicypage.h:22
JavaCodeGenerationPolicyPage::form
JavaCodeGenerationFormBase * form
Definition javacodegenerationpolicypage.h:40
JavaCodeGenerationPolicyPage::apply
void apply()
Definition javacodegenerationpolicypage.cpp:42
JavaCodeGenerationPolicyPage::JavaCodeGenerationPolicyPage
JavaCodeGenerationPolicyPage(QWidget *parent=nullptr, const char *name=nullptr, JavaCodeGenerationPolicy *policy=nullptr)
Definition javacodegenerationpolicypage.cpp:17
JavaCodeGenerationPolicyPage::~JavaCodeGenerationPolicyPage
virtual ~JavaCodeGenerationPolicyPage()
Definition javacodegenerationpolicypage.cpp:38
JavaCodeGenerationPolicy
Definition javacodegenerationpolicy.h:19
codegenerationpolicypage.h
javacodegenerationpolicy.h