KDECore
#include <kconfigini_p.h>
Definition at line 30 of file kconfigini_p.h.
Enumerator |
---|
GroupString |
|
KeyString |
|
ValueString |
|
Definition at line 62 of file kconfigini_p.h.
KConfigIniBackend::KConfigIniBackend |
( |
| ) |
|
KConfigIniBackend::~KConfigIniBackend |
( |
| ) |
|
char KConfigIniBackend::charFromHex |
( |
const char * |
str, |
|
|
const QFile & |
file, |
|
|
int |
line |
|
) |
| |
|
staticprotected |
void KConfigIniBackend::createEnclosing |
( |
| ) |
|
|
virtual |
Create the enclosing object of the configuration object.
For example, if the configuration object is a file, this should create the parent directory.
Implements KConfigBackend.
Definition at line 531 of file kconfigini.cpp.
bool KConfigIniBackend::isLocked |
( |
| ) |
const |
|
virtual |
bool KConfigIniBackend::isWritable |
( |
| ) |
const |
|
virtual |
QString KConfigIniBackend::nonWritableErrorMessage |
( |
| ) |
const |
|
virtual |
When isWritable() returns false
, return an error message to explain to the user why saving configuration will not work.
The return value when isWritable() returns true
is undefined.
- Returns
- a translated user-visible explanation for the configuration object not being writable
Implements KConfigBackend.
Definition at line 526 of file kconfigini.cpp.
Read persistent storage.
- Parameters
-
locale | the locale to read entries for (if the backend supports localized entries) |
pWriteBackMap | the KEntryMap where the entries are placed |
options | |
- See also
- ParseOptions
- Returns
- See also
- ParseInfo
Implements KConfigBackend.
Definition at line 59 of file kconfigini.cpp.
void KConfigIniBackend::printableToString |
( |
BufferFragment * |
aString, |
|
|
const QFile & |
file, |
|
|
int |
line |
|
) |
| |
|
staticprotected |
void KConfigIniBackend::setFilePath |
( |
const QString & |
path | ) |
|
|
virtual |
Set the file path.
- Note
path
MUST be absolute.
- Parameters
-
path | the absolute file path |
Implements KConfigBackend.
Definition at line 542 of file kconfigini.cpp.
QByteArray KConfigIniBackend::stringToPrintable |
( |
const QByteArray & |
aString, |
|
|
StringType |
type |
|
) |
| |
|
staticprotected |
void KConfigIniBackend::unlock |
( |
| ) |
|
|
virtual |
QString KConfigIniBackend::warningProlog |
( |
const QFile & |
file, |
|
|
int |
line |
|
) |
| |
|
staticprotected |
bool KConfigIniBackend::writeConfig |
( |
const QByteArray & |
locale, |
|
|
KEntryMap & |
entryMap, |
|
|
WriteOptions |
options, |
|
|
const KComponentData & |
data |
|
) |
| |
|
virtual |
Write the dirty entries to permanent storage.
- Parameters
-
locale | the locale to write entries for (if the backend supports localized entries) |
entryMap | the KEntryMap containing the config object's entries. |
options | |
- See also
- WriteOptions
- Parameters
-
data | the component that requested the write |
- Returns
true
if the write was successful, false
if writing the configuration failed
Implements KConfigBackend.
Definition at line 363 of file kconfigini.cpp.
void KConfigIniBackend::writeEntries |
( |
const QByteArray & |
locale, |
|
|
QFile & |
file, |
|
|
const KEntryMap & |
map |
|
) |
| |
|
protected |
void KConfigIniBackend::writeEntries |
( |
const QByteArray & |
locale, |
|
|
QFile & |
file, |
|
|
const KEntryMap & |
map, |
|
|
bool |
defaultGroup, |
|
|
bool & |
firstEntry |
|
) |
| |
|
protected |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:10 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.