2004-10-27 14:10:57 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* 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>
|
2006-03-21 19:01:58 +00:00
|
|
|
#include "settings.h"
|
2004-10-27 14:10:57 +00:00
|
|
|
|
|
|
|
class QWidget;
|
|
|
|
class KConfigSkeleton;
|
|
|
|
|
2004-10-28 19:50:57 +00:00
|
|
|
class DlgGeneral;
|
2004-11-05 10:27:38 +00:00
|
|
|
class DlgPerformance;
|
2004-10-28 19:50:57 +00:00
|
|
|
class DlgAccessibility;
|
2005-01-03 23:31:40 +00:00
|
|
|
class DlgPresentation;
|
2006-11-02 22:47:52 +00:00
|
|
|
class DlgIdentity;
|
2006-12-22 15:04:01 +00:00
|
|
|
class DlgDebug;
|
2004-10-28 19:50:57 +00:00
|
|
|
|
2006-12-22 15:08:37 +00:00
|
|
|
class PreferencesDialog : public KConfigDialog
|
2004-10-27 14:10:57 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
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:
|
2004-10-28 19:50:57 +00:00
|
|
|
DlgGeneral * m_general;
|
2004-11-05 10:27:38 +00:00
|
|
|
DlgPerformance * m_performance;
|
2004-10-28 19:50:57 +00:00
|
|
|
DlgAccessibility * m_accessibility;
|
2005-01-03 23:31:40 +00:00
|
|
|
DlgPresentation * m_presentation;
|
2006-11-02 22:47:52 +00:00
|
|
|
DlgIdentity * m_identity;
|
2006-12-22 15:04:01 +00:00
|
|
|
DlgDebug * m_debug;
|
2004-10-27 14:10:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|