subclassesdlg.h
Go to the documentation of this file.00001 /* This file is part of the KDE project 00002 Copyright (C) 2003 Alexander Dymo <cloudtemple@mksat.net> 00003 00004 This library is free software; you can redistribute it and/or 00005 modify it under the terms of the GNU Library General Public 00006 License as published by the Free Software Foundation; either 00007 version 2 of the License, or (at your option) any later version. 00008 00009 This library is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 Library General Public License for more details. 00013 00014 You should have received a copy of the GNU Library General Public License 00015 along with this library; see the file COPYING.LIB. If not, write to 00016 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00017 Boston, MA 02111-1307, USA. 00018 */ 00019 00020 #ifndef SUBCLASSESDLG_H 00021 #define SUBCLASSESDLG_H 00022 #include "domutil.h" 00023 #include "subclassesdlgbase.h" 00024 00025 class SubclassesDlg : public SubclassesDlgBase 00026 { 00027 Q_OBJECT 00028 00029 public: 00030 SubclassesDlg(QString form, DomUtil::PairList &config, QString projectDir, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); 00031 ~SubclassesDlg(); 00032 /*$PUBLIC_FUNCTIONS$*/ 00033 00034 public slots: 00035 /*$PUBLIC_SLOTS$*/ 00036 virtual void accept(); 00037 00038 protected: 00039 /*$PROTECTED_FUNCTIONS$*/ 00040 00041 protected slots: 00042 /*$PROTECTED_SLOTS$*/ 00043 virtual void newRelation(); 00044 virtual void removeRelation(); 00045 virtual void changeCurrentURL(const QString &str); 00046 virtual void currentRelationChanged(QListBoxItem *item); 00047 00048 private: 00049 QString m_form; 00050 DomUtil::PairList &m_config; 00051 QString m_projectDir; 00052 }; 00053 00054 #endif 00055