00001 /* 00002 * KCMStyle's container dialog for custom style setup dialogs 00003 * 00004 * (c) 2003 Maksim Orlovich <maksim.orlovich@kdemail.net> 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public 00008 * License version 2 as published by the Free Software Foundation. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; see the file COPYING. If not, write to 00017 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 * Boston, MA 02110-1301, USA. 00019 */ 00020 00021 #ifndef STYLE_CONF_DIALOG 00022 #define STYLE_CONF_DIALOG 00023 00024 #include <kdialogbase.h> 00025 00026 00027 class StyleConfigDialog: public KDialogBase 00028 { 00029 Q_OBJECT 00030 public: 00031 StyleConfigDialog(TQWidget* parent, TQString styleName); 00032 00033 bool isDirty() const; 00034 00035 public slots: 00036 void setDirty(bool dirty); 00037 00038 signals: 00039 void defaults(); 00040 void save(); 00041 00042 private: 00043 bool m_dirty; 00044 }; 00045 00046 #endif
1.6.1