compile
[kdegraphics.git] / okular / conf / preferencesdialog.h
blob68cf72d99ce290216714707f9c1b5ef844ff0429
1 /***************************************************************************
2 * Copyright (C) 2004 by Enrico Ros <eros.kde@email.it> *
3 * *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 ***************************************************************************/
10 #ifndef _PREFERENCESDIALOG_H
11 #define _PREFERENCESDIALOG_H
13 #include <kconfigdialog.h>
14 #include "settings.h"
16 class QWidget;
17 class KConfigSkeleton;
19 class DlgGeneral;
20 class DlgPerformance;
21 class DlgAccessibility;
22 class DlgPresentation;
23 class DlgIdentity;
24 class DlgDebug;
26 class PreferencesDialog : public KConfigDialog
29 public:
30 PreferencesDialog( QWidget * parent, KConfigSkeleton * config );
32 protected:
33 // void updateSettings(); // Called when OK/Apply is pressed.
34 // void updateWidgets(); // Called upon construction or when Reset is pressed
35 // void updateWidgetsDefault(); // Called when Defaults button is pressed
36 // bool hasChanged(); // In order to correctly disable/enable Apply button
37 // bool isDefault(); // In order to correctly disable/enable Defaults button
39 private:
40 DlgGeneral * m_general;
41 DlgPerformance * m_performance;
42 DlgAccessibility * m_accessibility;
43 DlgPresentation * m_presentation;
44 DlgIdentity * m_identity;
45 DlgDebug * m_debug;
48 #endif