File indexing completed on 2024-05-05 16:39:02
0001 /* This file is part of the KDE project 0002 Copyright (C) 1998-2003 Carsten Pfeiffer <pfeiffer@kde.org> 0003 0004 This program is free software; you can redistribute it and/or 0005 modify it under the terms of the GNU General Public 0006 License as published by the Free Software Foundation, version 2. 0007 0008 This program is distributed in the hope that it will be useful, 0009 but WITHOUT ANY WARRANTY; without even the implied warranty of 0010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0011 General Public License for more details. 0012 0013 You should have received a copy of the GNU General Public License 0014 along with this program; see the file COPYING. If not, write to 0015 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0016 Boston, MA 02110-1301, USA. 0017 */ 0018 0019 #ifndef KUICKCONFIGDLG_H 0020 #define KUICKCONFIGDLG_H 0021 0022 #include <KPageDialog> 0023 0024 class KActionCollection; 0025 class KShortcutsEditor; 0026 class DefaultsWidget; 0027 class GeneralWidget; 0028 class ImageWindow; 0029 class SlideShowWidget; 0030 0031 0032 class KuickConfigDialog : public KPageDialog 0033 { 0034 Q_OBJECT 0035 0036 public: 0037 KuickConfigDialog( KActionCollection *coll, QWidget *parent=0, bool modal=true); 0038 ~KuickConfigDialog(); 0039 0040 void applyConfig(); 0041 0042 private slots: 0043 void resetDefaults(); 0044 0045 signals: 0046 void okClicked(); 0047 void applyClicked(); 0048 0049 private: 0050 DefaultsWidget *defaultsWidget; 0051 GeneralWidget *generalWidget; 0052 SlideShowWidget *slideshowWidget; 0053 KShortcutsEditor *imageKeyChooser, *browserKeyChooser; 0054 KActionCollection *coll; 0055 0056 ImageWindow *imageWindow; 0057 0058 }; 0059 0060 #endif