compile
[kdegraphics.git] / okular / conf / preferencesdialog.cpp
blob828ca88955da8205904f85ccbd2252738e9ff484
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 // reimplementing this
11 #include "preferencesdialog.h"
13 #include <klocale.h>
15 // single config pages
16 #include "dlggeneral.h"
17 #include "dlgperformance.h"
18 #include "dlgaccessibility.h"
19 #include "dlgpresentation.h"
20 #include "dlgidentity.h"
21 #include "dlgdebug.h"
23 PreferencesDialog::PreferencesDialog( QWidget * parent, KConfigSkeleton * skeleton )
24 : KConfigDialog( parent, "preferences", skeleton )
26 m_general = new DlgGeneral( this );
27 m_performance = new DlgPerformance( this );
28 m_accessibility = new DlgAccessibility( this );
29 m_presentation = new DlgPresentation( this );
30 m_identity = new DlgIdentity( this );
31 #ifdef OKULAR_DEBUG_CONFIGPAGE
32 m_debug = new DlgDebug( this );
33 #endif
35 addPage( m_general, i18n("General"), "okular", i18n("General Options") );
36 addPage( m_accessibility, i18n("Accessibility"), "preferences-desktop-accessibility", i18n("Accessibility Reading Aids") );
37 addPage( m_performance, i18n("Performance"), "preferences-system-performance", i18n("Performance Tuning") );
38 addPage( m_presentation, i18n("Presentation"), "view-presentation",
39 i18n("Options for Presentation Mode") );
40 addPage( m_identity, i18n("Identity"), "preferences-desktop-personal",
41 i18n("Identity Settings") );
42 #ifdef OKULAR_DEBUG_CONFIGPAGE
43 addPage( m_debug, "Debug", "system-run", "Debug options" );
44 #endif
45 setHelp(QString(),"okular");