00001 /* Plastik KWin window decoration 00002 Copyright (C) 2003 Sandro Giessl <ceebx@users.sourceforge.net> 00003 00004 based on the window decoration "Web": 00005 Copyright (C) 2001 Rik Hemsley (rikkus) <rik@kde.org> 00006 00007 This program is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU General Public 00009 License as published by the Free Software Foundation; either 00010 version 2 of the License, or (at your option) any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program; see the file COPYING. If not, write to 00019 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00020 Boston, MA 02110-1301, USA. 00021 */ 00022 00023 #ifndef KNIFTYCONFIG_H 00024 #define KNIFTYCONFIG_H 00025 00026 #include <tqobject.h> 00027 00028 class TQButtonGroup; 00029 class TQGroupBox; 00030 class KConfig; 00031 class ConfigDialog; 00032 00033 class PlastikConfig : public QObject 00034 { 00035 Q_OBJECT 00036 public: 00037 PlastikConfig(KConfig* config, TQWidget* parent); 00038 ~PlastikConfig(); 00039 00040 signals: 00041 void changed(); 00042 00043 public slots: 00044 void load(KConfig *config); 00045 void save(KConfig *config); 00046 void defaults(); 00047 00048 private: 00049 KConfig *m_config; 00050 ConfigDialog *m_dialog; 00051 }; 00052 00053 #endif // KNIFTYCONFIG_H
1.6.1