knotes
knoteconfigdlg.h
00001 /******************************************************************* 00002 KNotes -- Notes for the KDE project 00003 00004 Copyright (c) 1997-2005, The KNotes Developers 00005 00006 This program is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU General Public License 00008 as published by the Free Software Foundation; either version 2 00009 of the License, or (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; if not, write to the Free Software 00018 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00019 *******************************************************************/ 00020 00021 #ifndef KNOTECONFIGDLG_H 00022 #define KNOTECONFIGDLG_H 00023 00024 #include <kconfigdialog.h> 00025 00026 class QString; 00027 class KNoteConfig; 00028 00029 00030 class KNoteConfigDlg : public KConfigDialog 00031 { 00032 Q_OBJECT 00033 public: 00034 KNoteConfigDlg( KNoteConfig *config, const QString &title, 00035 QWidget *parent=0, const char *name=0 ); 00036 ~KNoteConfigDlg(); 00037 00038 public slots: 00039 void slotUpdateCaption(); 00040 00041 protected: 00042 QWidget *makeDisplayPage( bool ); 00043 QWidget *makeEditorPage( bool ); 00044 00045 QWidget *makeDefaultsPage(); 00046 QWidget *makeActionsPage(); 00047 QWidget *makeNetworkPage(); 00048 QWidget *makeStylePage(); 00049 }; 00050 00051 #endif