umbrello: umbrello/codegenerators/advancedcodegenerator.h Source File

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

advancedcodegenerator.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-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef ADVANCEDCODEGENERATOR_H
9#define ADVANCEDCODEGENERATOR_H
10
11#include "codegenerator.h"
12
17 class AdvancedCodeGenerator : public CodeGenerator
18{
19 Q_OBJECT
20public:
21 AdvancedCodeGenerator();
22 virtual ~AdvancedCodeGenerator();
23
24 virtual CodeDocument * newClassifierCodeDocument(UMLClassifier * classifier) = 0;
25 virtual CodeViewerDialog * getCodeViewerDialog(QWidget* parent, CodeDocument * doc,
26 Settings::CodeViewerState & state);
27
28public Q_SLOTS:
29 virtual void checkAddUMLObject(UMLObject * obj);
30 virtual void checkRemoveUMLObject(UMLObject * obj);
31
32protected:
33 virtual void initFromParentDocument();
34 void connectSlots();
35};
36
37#endif // ADVANCEDCODEGENERATOR_H
AdvancedCodeGenerator::AdvancedCodeGenerator
AdvancedCodeGenerator()
Definition advancedcodegenerator.cpp:19
AdvancedCodeGenerator::checkRemoveUMLObject
virtual void checkRemoveUMLObject(UMLObject *obj)
Definition advancedcodegenerator.cpp:58
AdvancedCodeGenerator::newClassifierCodeDocument
virtual CodeDocument * newClassifierCodeDocument(UMLClassifier *classifier)=0
AdvancedCodeGenerator::connectSlots
void connectSlots()
Definition advancedcodegenerator.cpp:108
AdvancedCodeGenerator::initFromParentDocument
virtual void initFromParentDocument()
Definition advancedcodegenerator.cpp:89
AdvancedCodeGenerator::getCodeViewerDialog
virtual CodeViewerDialog * getCodeViewerDialog(QWidget *parent, CodeDocument *doc, Settings::CodeViewerState &state)
Definition advancedcodegenerator.cpp:33
AdvancedCodeGenerator::checkAddUMLObject
virtual void checkAddUMLObject(UMLObject *obj)
Definition advancedcodegenerator.cpp:42
AdvancedCodeGenerator::~AdvancedCodeGenerator
virtual ~AdvancedCodeGenerator()
Definition advancedcodegenerator.cpp:26
CodeDocument
Definition codedocument.h:30
CodeGenerator::CodeGenerator
CodeGenerator()
Definition codegenerator.cpp:51
CodeViewerDialog
Definition codeviewerdialog.h:23
Settings::CodeViewerState
configurable params for the code viewer tool
Definition codeviewerstate.h:15
UMLClassifier
Information for a non-graphical Concept/Class.
Definition classifier.h:35
UMLObject
The base class for UML objects.
Definition umlobject.h:70
codegenerator.h