|
|
|
@ -11,6 +11,7 @@ |
|
|
|
#include "preferencesdialog.h" |
|
|
|
#include "preferencesdialog.h" |
|
|
|
|
|
|
|
|
|
|
|
#include <KLocalizedString> |
|
|
|
#include <KLocalizedString> |
|
|
|
|
|
|
|
#include "../generators/poppler/config-okular-poppler.h" |
|
|
|
|
|
|
|
|
|
|
|
// single config pages
|
|
|
|
// single config pages
|
|
|
|
#include "dlgaccessibility.h" |
|
|
|
#include "dlgaccessibility.h" |
|
|
|
@ -48,11 +49,15 @@ PreferencesDialog::PreferencesDialog(QWidget *parent, KConfigSkeleton *skeleton, |
|
|
|
m_presentation = new DlgPresentation(this); |
|
|
|
m_presentation = new DlgPresentation(this); |
|
|
|
m_annotations = new DlgAnnotations(this); |
|
|
|
m_annotations = new DlgAnnotations(this); |
|
|
|
m_editor = new DlgEditor(this); |
|
|
|
m_editor = new DlgEditor(this); |
|
|
|
|
|
|
|
#ifdef HAVE_POPPLER_SIGNING |
|
|
|
m_signatures = new DlgSignatures(this); |
|
|
|
m_signatures = new DlgSignatures(this); |
|
|
|
|
|
|
|
#endif |
|
|
|
addPage(m_presentation, i18n("Presentation"), QStringLiteral("view-presentation"), i18n("Options for Presentation Mode")); |
|
|
|
addPage(m_presentation, i18n("Presentation"), QStringLiteral("view-presentation"), i18n("Options for Presentation Mode")); |
|
|
|
m_annotationsPage = addPage(m_annotations, i18n("Annotations"), QStringLiteral("draw-freehand"), i18n("Annotation Options")); |
|
|
|
m_annotationsPage = addPage(m_annotations, i18n("Annotations"), QStringLiteral("draw-freehand"), i18n("Annotation Options")); |
|
|
|
addPage(m_editor, i18n("Editor"), QStringLiteral("accessories-text-editor"), i18n("Editor Options")); |
|
|
|
addPage(m_editor, i18n("Editor"), QStringLiteral("accessories-text-editor"), i18n("Editor Options")); |
|
|
|
|
|
|
|
#ifdef HAVE_POPPLER_SIGNING |
|
|
|
addPage(m_signatures, i18n("Signatures"), QStringLiteral("application-pkcs7-signature"), i18n("Digital Signatures")); |
|
|
|
addPage(m_signatures, i18n("Signatures"), QStringLiteral("application-pkcs7-signature"), i18n("Digital Signatures")); |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
#ifdef OKULAR_DEBUG_CONFIGPAGE |
|
|
|
#ifdef OKULAR_DEBUG_CONFIGPAGE |
|
|
|
addPage(m_debug, "Debug", "system-run", "Debug options"); |
|
|
|
addPage(m_debug, "Debug", "system-run", "Debug options"); |
|
|
|
|