umbrello  2.32.0
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  * This program is free software; you can redistribute it and/or modify *
3  * it under the terms of the GNU General Public License as published by *
4  * the Free Software Foundation; either version 2 of the License, or *
5  * (at your option) any later version. *
6  * *
7  * copyright (C) 2003 Brian Thomas <thomas@mail630.gsfc.nasa.gov> *
8  * copyright (C) 2004-2020 *
9  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10  ***************************************************************************/
11 
12 #ifndef ADVANCEDCODEGENERATOR_H
13 #define ADVANCEDCODEGENERATOR_H
14 
15 #include "codegenerator.h"
16 
22 {
23  Q_OBJECT
24 public:
26  virtual ~AdvancedCodeGenerator();
27 
28  virtual CodeDocument * newClassifierCodeDocument(UMLClassifier * classifier) = 0;
29  virtual CodeViewerDialog * getCodeViewerDialog(QWidget* parent, CodeDocument * doc,
31 
32 public slots:
33  virtual void checkAddUMLObject(UMLObject * obj);
34  virtual void checkRemoveUMLObject(UMLObject * obj);
35 
36 protected:
37  virtual void initFromParentDocument();
38  void connectSlots();
39 };
40 
41 #endif // ADVANCEDCODEGENERATOR_H
Information for a non-graphical Concept/Class.
Definition: classifier.h:39
virtual void checkRemoveUMLObject(UMLObject *obj)
Definition: advancedcodegenerator.cpp:62
configurable params for the code viewer tool
Definition: codeviewerstate.h:20
virtual void initFromParentDocument()
Definition: advancedcodegenerator.cpp:93
AdvancedCodeGenerator()
Definition: advancedcodegenerator.cpp:23
void connectSlots()
Definition: advancedcodegenerator.cpp:112
The base class for UML objects.
Definition: umlobject.h:73
virtual void checkAddUMLObject(UMLObject *obj)
Definition: advancedcodegenerator.cpp:46
Definition: codedocument.h:32
Definition: codeviewerdialog.h:27
Definition: advancedcodegenerator.h:21
Definition: codegenerator.h:56
virtual CodeDocument * newClassifierCodeDocument(UMLClassifier *classifier)=0
virtual CodeViewerDialog * getCodeViewerDialog(QWidget *parent, CodeDocument *doc, Settings::CodeViewerState &state)
Definition: advancedcodegenerator.cpp:37
virtual ~AdvancedCodeGenerator()
Definition: advancedcodegenerator.cpp:30