Go to the documentation of this file.
31#include <QtCore/QString>
32#include <QtCore/QVariant>
33#include <QtCore/QByteArray>
34#include <QtCore/QList>
93 IncludeGlobals = 0x01,
97 NoCascade = IncludeGlobals,
98 NoGlobals = CascadeConfig,
99 FullConfig = IncludeGlobals|CascadeConfig
101 Q_DECLARE_FLAGS(OpenFlags, OpenFlag)
132 const char* resourceType =
"config");
165 OpenFlags mode = FullConfig,
const char* resourceType =
"config");
198 bool isDirty()
const;
205 AccessMode accessMode()
const;
225 bool isConfigWritable(
bool warnUser);
268 void reparseConfiguration();
319 bool setLocale(
const QString& aLocale);
332 void setReadDefaults(
bool b);
337 bool readDefaults()
const;
342 bool isImmutable()
const;
355#ifndef KDE_NO_DEPRECATED
356 KDE_DEPRECATED
void setForceGlobal(
bool force);
367#ifndef KDE_NO_DEPRECATED
368 KDE_DEPRECATED
bool forceGlobal()
const;
389 virtual bool hasGroupImpl(
const QByteArray &group)
const;
391 virtual const KConfigGroup groupImpl(
const QByteArray &b)
const;
392 virtual void deleteGroupImpl(
const QByteArray &group, WriteConfigFlags flags = Normal);
393 virtual bool isGroupImmutableImpl(
const QByteArray& aGroup)
const;
396 friend class KConfigGroupPrivate;
401 virtual void virtual_hook(
int id,
void* data );
408 friend class KConfigTest;
416Q_DECLARE_OPERATORS_FOR_FLAGS( KConfig::OpenFlags )
A class for one specific group in a KConfig object.
The central class of the KDE configuration data system.
OpenFlag
Determines how the system-wide and user's global settings will affect the reading of the configuratio...
KConfigPrivate *const d_ptr
type specifying a map of entries (key,value pairs).
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.