umlroledialog.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) 2003-2006 * 00009 * Umbrello UML Modeller Authors <uml-devel@uml.sf.net> * 00010 ***************************************************************************/ 00011 00012 00013 #ifndef UMLROLEDIALOG_H 00014 #define UMLROLEDIALOG_H 00015 00016 //kde includes 00017 #include <kdialogbase.h> 00018 00023 class UMLRole; 00024 class UMLRoleProperties; 00025 00026 class UMLRoleDialog : public KDialogBase { 00027 Q_OBJECT 00028 public: 00032 UMLRoleDialog( QWidget * parent, UMLRole * pRole ); 00033 00037 ~UMLRoleDialog(); 00038 00039 protected: 00040 00044 void setupDialog(); 00045 00050 bool apply(); 00051 00055 UMLRole * m_pRole; 00056 00057 private: 00058 00059 UMLRoleProperties * m_pRoleProps; 00060 00061 public slots: 00062 00067 void slotApply(); 00068 00072 void slotOk(); 00073 }; 00074 00075 #endif
