KDECore
kconfigdata.cpp
Go to the documentation of this file.
42 QMap< KEntryKey, KEntry >::Iterator KEntryMap::findExactEntry(const QByteArray& group, const QByteArray& key, KEntryMap::SearchFlags flags)
48 QMap< KEntryKey, KEntry >::Iterator KEntryMap::findEntry(const QByteArray& group, const QByteArray& key, KEntryMap::SearchFlags flags)
65 QMap< KEntryKey, KEntry >::ConstIterator KEntryMap::findEntry(const QByteArray& group, const QByteArray& key, KEntryMap::SearchFlags flags) const
82 bool KEntryMap::setEntry(const QByteArray& group, const QByteArray& key, const QByteArray& value, KEntryMap::EntryOptions options)
209 QString KEntryMap::getEntry(const QByteArray& group, const QByteArray& key, const QString& defaultValue, KEntryMap::SearchFlags flags, bool* expand) const
226 bool KEntryMap::hasEntry(const QByteArray& group, const QByteArray& key, KEntryMap::SearchFlags flags) const
236 // if it->bReverted, we'll just return true; the real answer depends on lookup up with SearchDefaults, though.
240 bool KEntryMap::getEntryOption(const QMap< KEntryKey, KEntry >::ConstIterator& it, KEntryMap::EntryOption option) const
264 void KEntryMap::setEntryOption(QMap< KEntryKey, KEntry >::Iterator it, KEntryMap::EntryOption option, bool bf)
289 bool KEntryMap::revertEntry(const QByteArray& group, const QByteArray& key, KEntryMap::SearchFlags flags)
Definition: kconfigdata.h:165
Definition: kconfigdata.h:162
iterator erase(iterator pos)
Definition: kconfigdata.h:152
Definition: kconfigdata.h:164
bool bReverted
Entry has been reverted to its default value (from a more global file).
Definition: kconfigdata.h:66
Definition: kmacroexpander_unix.cpp:34
Definition: kconfigdata.h:167
bool isNull() const
bool isEmpty() const
QDebug & nospace()
const_iterator constFind(const Key &key) const
int length() const
Definition: kconfigdata.h:166
Definition: kconfigdata.h:169
QString fromUtf8(const char *str, int size)
key structure holding both the actual key and the group to which it belongs.
Definition: kconfigdata.h:89
bool hasEntry(const QByteArray &group, const QByteArray &key=QByteArray(), SearchFlags flags=SearchFlags()) const
Definition: kconfigdata.cpp:226
const_iterator constEnd() const
const char * constData() const
iterator end()
QString getEntry(const QByteArray &group, const QByteArray &key, const QString &defaultValue=QString(), SearchFlags flags=SearchFlags(), bool *expand=0) const
Definition: kconfigdata.cpp:209
QDebug & space()
bool setEntry(const QByteArray &group, const QByteArray &key, const QByteArray &value, EntryOptions options)
Returns true if the entry gets dirtied or false in other case.
const Key key(const T &value) const
Iterator findEntry(const QByteArray &group, const QByteArray &key=QByteArray(), SearchFlags flags=SearchFlags())
bool getEntryOption(const ConstIterator &it, EntryOption option) const
Definition: kconfigdata.h:157
iterator insert(const Key &key, const T &value)
void setEntryOption(Iterator it, EntryOption option, bool bf)
typedef Iterator
typedef ConstIterator
Definition: kconfigdata.h:163
iterator find(const Key &key)
Definition: kconfigdata.h:156
Iterator findExactEntry(const QByteArray &group, const QByteArray &key=QByteArray(), SearchFlags flags=SearchFlags())
Definition: kconfigdata.cpp:42
Definition: kconfigdata.h:168
bool revertEntry(const QByteArray &group, const QByteArray &key, SearchFlags flags=SearchFlags())
Definition: kconfigdata.cpp:289
const T value(const Key &key) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.