umbrello: umbrello/codegenerators/codegenpolicyext.h Source File

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

codegenpolicyext.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2006-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef CODEGENPOLICYEXT_H
7#define CODEGENPOLICYEXT_H
8
9#include <QObject>
10
11class QWidget;
12class CodeGenerationPolicyPage;
13
22 class CodeGenPolicyExt : public QObject
23{
24 Q_OBJECT
25public:
26 CodeGenPolicyExt() {}
27 virtual ~CodeGenPolicyExt() {}
28
29 virtual CodeGenerationPolicyPage * createPage(QWidget *parent = nullptr, const char *name = nullptr) = 0;
30
31 virtual void setDefaults(bool emitUpdateSignal = true) = 0;
32
33};
34
35#endif
CodeGenPolicyExt::createPage
virtual CodeGenerationPolicyPage * createPage(QWidget *parent=nullptr, const char *name=nullptr)=0
CodeGenPolicyExt::setDefaults
virtual void setDefaults(bool emitUpdateSignal=true)=0
CodeGenPolicyExt::CodeGenPolicyExt
CodeGenPolicyExt()
Definition codegenpolicyext.h:26
CodeGenPolicyExt::~CodeGenPolicyExt
virtual ~CodeGenPolicyExt()
Definition codegenpolicyext.h:27
CodeGenerationPolicyPage
Definition codegenerationpolicypage.h:17