codegenerationwizard.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef CODEGENERATIONWIZARD_H
00022 #define CODEGENERATIONWIZARD_H
00023
00024 #include <qwidget.h>
00025 #include <qptrlist.h>
00026 #include "codegenerationwizardbase.h"
00027 #include "settingsdlg.h"
00028 #include "../umlclassifierlist.h"
00029
00030 class UMLApp;
00031 class UMLDoc;
00032 class CodeGenerator;
00033 class CodeGenerationOptionsPage;
00034
00040 class CodeGenerationWizard : public CodeGenerationWizardBase {
00041 Q_OBJECT
00042 public:
00043 CodeGenerationWizard(UMLClassifierList *classList);
00044 ~CodeGenerationWizard();
00045
00046 void showPage(QWidget *);
00047
00048 int exec() {
00049 return QWizard::exec();
00050 }
00051 protected slots:
00052
00057 void selectClass();
00058
00063 void deselectClass();
00064 void populateStatusList();
00065 void generateCode();
00066 void classGenerated(UMLClassifier* concept, bool generated);
00067
00068 private slots:
00069 void changeLanguage();
00070
00071
00072 private:
00073 CodeGenerator* generator();
00074
00081 void moveSelectedItems(QListView* fromList, QListView* toList);
00082
00083 UMLApp* m_app;
00084 UMLDoc* m_doc;
00085 CodeGenerationOptionsPage* m_CodeGenerationOptionsPage;
00086 };
00087
00088 #endif
This file is part of the documentation for umbrello Version 3.1.0.