ksimpleconfig.h
/* This file is part of the KDE libraries
Copyright (C) 1997 Matthias Kalle Dalheimer (kalle@kde.org)
Copyright (c) 1999 Preston Brown <pbrown@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef _KSIMPLECONFIG_H
#define _KSIMPLECONFIG_H
#include "kconfig.h"
class KSimpleConfigPrivate;
class KDECORE_EXPORT KSimpleConfig : public KConfig
{
Q_OBJECT
public:
KSimpleConfig( const QString &fileName, bool bReadOnly = false);
KSimpleConfig(KConfigBackEnd *backEnd, bool bReadOnly = false);
virtual ~KSimpleConfig();
virtual void sync();
private:
// copy-construction and assignment are not allowed
KSimpleConfig( const KSimpleConfig& );
KSimpleConfig& operator= ( const KSimpleConfig& rConfig );
protected:
virtual void virtual_hook( int id, void* data );
private:
KSimpleConfigPrivate *d;
};
#endif
KConfigBase::sync
virtual void sync()
Flushes all changes that currently reside only in memory back to disk / permanent storage...
Definition: kconfigbase.cpp:1695
KConfigBackEnd
Abstract base class for KDE configuration file loading/saving.
Definition: kconfigbackend.h:47
KConfig
Access KDE Configuration entries.
Definition: kconfig.h:43
KSimpleConfig
KDE Configuration entries.
Definition: ksimpleconfig.h:41

KDE Home | KDE Accessibility Home | Description of Access Keys