classwizard.h
00001 /*************************************************************************** 00002 * * 00003 * This program is free software; you can redistribute it and/or modify * 00004 * it under the terms of the GNU General Public License as published by * 00005 * the Free Software Foundation; either version 2 of the License, or * 00006 * (at your option) any later version. * 00007 * * 00008 * copyright (C) 2002-2006 * 00009 * Umbrello UML Modeller Authors <uml-devel@uml.sf.net> * 00010 ***************************************************************************/ 00011 00012 #ifndef CLASSWIZARD_H 00013 #define CLASSWIZARD_H 00014 //kde includes 00015 #include <kwizard.h> 00016 //app includes 00017 #include "classgenpage.h" 00018 00019 class ClassifierListPage; 00020 class UMLClassifier; 00021 class UMLDoc; 00022 00027 class ClassWizard : public KWizard { 00028 public: 00032 ClassWizard( UMLDoc * pDoc ); 00033 00037 ~ClassWizard(); 00038 00039 protected: 00040 00044 void showPage( QWidget * pWidget ); 00045 00049 void next(); 00050 00054 void back(); 00055 00059 void accept(); 00060 00064 void reject(); 00065 00069 void setupPages(); 00070 00074 ClassGenPage * m_pGenPage; 00075 00079 ClassifierListPage* m_pAttPage; 00080 00084 ClassifierListPage* m_pOpPage; 00085 00089 UMLDoc * m_pDoc; 00090 00094 UMLClassifier * m_pClass; 00095 00096 protected slots: 00100 void help(); 00101 00102 }; 00103 00104 #endif
