Source: ./dialogs/codegenerationwizard.h
|
|
|
|
/***************************************************************************
codegenerationwizard.h - description
-------------------
begin : Wed Jul 24 2002
copyright : (C) 2002 by Luis De la Parra
email : luis@delaparra.org
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef CODEGENERATIONWIZARD_H
#define CODEGENERATIONWIZARD_H
#include
#include
#include "codegenerationwizardbase.h"
#include "settingsdlg.h"
class UMLConcept;
class UMLDoc;
class CodeGenerator;
/**
* @author Luis De la Parra
* based on wizard from Paul Hensgen
*/
class CodeGenerationWizard : public CodeGenerationWizardBase {
Q_OBJECT
public:
CodeGenerationWizard(CodeGenerator *generator, UMLDoc *doc, QPtrList *classList,
SettingsDlg::CodeGenState codegenState,QWidget *parent=0,
const char *name=0);
~CodeGenerationWizard();
void showPage(QWidget *);
int exec() {
return QWizard::exec();
}
protected slots:
void selectClass();
void deselectClass();
void populateStatusList();
void generateCode();
void classGenerated(UMLConcept *c);
private:
CodeGenerator *m_generator;
UMLDoc *m_doc;
};
#endif
| Generated by: jr on radge on Wed Sep 25 00:11:47 2002, using kdoc 2.0a54. |