mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-03 22:54:31 +00:00
df5364da6c
in the hicolor namespace. Before, the non-specified "graphics-viewer-document" icon was used, which caused icon loaders from other toolkits not to find this icon as they don't consider Oxygen by default. Also update all the references that made use of the "graphics-viewer-document" icon in the code and the many .desktop files. svn path=/trunk/KDE/kdegraphics/okular/; revision=819965
47 lines
2 KiB
C++
47 lines
2 KiB
C++
/***************************************************************************
|
|
* 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. *
|
|
***************************************************************************/
|
|
|
|
// reimplementing this
|
|
#include "preferencesdialog.h"
|
|
|
|
#include <klocale.h>
|
|
|
|
// single config pages
|
|
#include "dlggeneral.h"
|
|
#include "dlgperformance.h"
|
|
#include "dlgaccessibility.h"
|
|
#include "dlgpresentation.h"
|
|
#include "dlgidentity.h"
|
|
#include "dlgdebug.h"
|
|
|
|
PreferencesDialog::PreferencesDialog( QWidget * parent, KConfigSkeleton * skeleton )
|
|
: KConfigDialog( parent, "preferences", skeleton )
|
|
{
|
|
m_general = new DlgGeneral( this );
|
|
m_performance = new DlgPerformance( this );
|
|
m_accessibility = new DlgAccessibility( this );
|
|
m_presentation = new DlgPresentation( this );
|
|
m_identity = new DlgIdentity( this );
|
|
#ifdef OKULAR_DEBUG_CONFIGPAGE
|
|
m_debug = new DlgDebug( this );
|
|
#endif
|
|
|
|
addPage( m_general, i18n("General"), "okular", i18n("General Options") );
|
|
addPage( m_accessibility, i18n("Accessibility"), "preferences-desktop-accessibility", i18n("Accessibility Reading Aids") );
|
|
addPage( m_performance, i18n("Performance"), "preferences-system-performance", i18n("Performance Tuning") );
|
|
addPage( m_presentation, i18n("Presentation"), "view-presentation",
|
|
i18n("Options for Presentation Mode") );
|
|
addPage( m_identity, i18n("Identity"), "preferences-desktop-personal",
|
|
i18n("Identity Settings") );
|
|
#ifdef OKULAR_DEBUG_CONFIGPAGE
|
|
addPage( m_debug, "Debug", "system-run", "Debug options" );
|
|
#endif
|
|
setHelp(QString(),"okular");
|
|
}
|