umbrello API Documentation

codegenerationwizard.h

00001 /***************************************************************************
00002                           codegenerationwizard.h  -  description
00003                              -------------------
00004     begin                : Wed Jul 24 2002
00005     copyright            : (C) 2002 by Luis De la Parra
00006     email                : luis@delaparra.org
00007   Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
00008  ***************************************************************************/
00009 
00010 /***************************************************************************
00011  *                                                                         *
00012  *   This program is free software; you can redistribute it and/or modify  *
00013  *   it under the terms of the GNU General Public License as published by  *
00014  *   the Free Software Foundation; either version 2 of the License, or     *
00015  *   (at your option) any later version.                                   *
00016  *                                                                         *
00017  *   copyright (C) 2003-2006                                               *
00018  *   Umbrello UML Modeller Authors <uml-devel@uml.sf.net>                  *
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
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:07:55 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003