summaryrefslogtreecommitdiffstats
path: root/kpdf/conf/preferencesdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpdf/conf/preferencesdialog.cpp')
-rw-r--r--kpdf/conf/preferencesdialog.cpp34
1 files changed, 34 insertions, 0 deletions
diff --git a/kpdf/conf/preferencesdialog.cpp b/kpdf/conf/preferencesdialog.cpp
new file mode 100644
index 00000000..7968d3fd
--- /dev/null
+++ b/kpdf/conf/preferencesdialog.cpp
@@ -0,0 +1,34 @@
+/***************************************************************************
+ * Copyright (C) 2004 by Enrico Ros <eros.kde@email.it> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ ***************************************************************************/
+
+#include <klocale.h>
+
+// single config pages
+#include "dlggeneral.h"
+#include "dlgperformance.h"
+#include "dlgaccessibility.h"
+#include "dlgpresentation.h"
+
+// reimplementing this
+#include "preferencesdialog.h"
+
+PreferencesDialog::PreferencesDialog( QWidget * parent, KConfigSkeleton * skeleton )
+ : KConfigDialog( parent, "preferences", skeleton )
+{
+ m_general = new DlgGeneral(0);
+ m_performance = new DlgPerformance(0);
+ m_accessibility = new DlgAccessibility(0);
+ m_presentation = new DlgPresentation(0);
+
+ addPage( m_general, i18n("General"), "kpdf", i18n("General Options") );
+ addPage( m_accessibility, i18n("Accessibility"), "access", i18n("Reading Aids") );
+ addPage( m_performance, i18n("Performance"), "launch", i18n("Performance Tuning") );
+ addPage( m_presentation, i18n("Presentation"), "kpresenter_kpr",
+ i18n("Options for Presentation Mode") );
+}