mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
30362c45fc
svn path=/trunk/playground/graphics/okular/; revision=615761
48 lines
1.6 KiB
C++
48 lines
1.6 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. *
|
|
***************************************************************************/
|
|
|
|
#ifndef _PREFERENCESDIALOG_H
|
|
#define _PREFERENCESDIALOG_H
|
|
|
|
#include <kconfigdialog.h>
|
|
#include "settings.h"
|
|
|
|
class QWidget;
|
|
class KConfigSkeleton;
|
|
|
|
class DlgGeneral;
|
|
class DlgPerformance;
|
|
class DlgAccessibility;
|
|
class DlgPresentation;
|
|
class DlgIdentity;
|
|
class DlgDebug;
|
|
|
|
class PreferencesDialog : public KConfigDialog
|
|
{
|
|
|
|
public:
|
|
PreferencesDialog( QWidget * parent, KConfigSkeleton * config );
|
|
|
|
protected:
|
|
// void updateSettings(); // Called when OK/Apply is pressed.
|
|
// void updateWidgets(); // Called upon construction or when Reset is pressed
|
|
// void updateWidgetsDefault(); // Called when Defaults button is pressed
|
|
// bool hasChanged(); // In order to correctly disable/enable Apply button
|
|
// bool isDefault(); // In order to correctly disable/enable Defaults button
|
|
|
|
private:
|
|
DlgGeneral * m_general;
|
|
DlgPerformance * m_performance;
|
|
DlgAccessibility * m_accessibility;
|
|
DlgPresentation * m_presentation;
|
|
DlgIdentity * m_identity;
|
|
DlgDebug * m_debug;
|
|
};
|
|
|
|
#endif
|