• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDECore

Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
KConfigPrivate Class Reference

#include <kconfig_p.h>

Inherited by KDesktopFilePrivate.

Public Member Functions

QSet< QByteArray > allSubGroups (const QByteArray &parentGroup) const
 
bool canWriteEntry (const QByteArray &group, const char *key, bool isDefault=false) const
 
void changeFileName (const QString &fileName, const char *resourceType)
 
void copyGroup (const QByteArray &source, const QByteArray &destination, KConfigGroup *otherGroup, KConfigBase::WriteConfigFlags flags) const
 
QStringList groupList (const QByteArray &group) const
 
bool hasNonDeletedEntries (const QByteArray &group) const
 
QStringList keyListImpl (const QByteArray &theGroup) const
 
QString lookupData (const QByteArray &group, const char *key, KEntryMap::SearchFlags flags, bool *expand) const
 
QByteArray lookupData (const QByteArray &group, const char *key, KEntryMap::SearchFlags flags) const
 
void putData (const QByteArray &group, const char *key, const QByteArray &value, KConfigBase::WriteConfigFlags flags, bool expand=false)
 
void revertEntry (const QByteArray &group, const char *key)
 

Static Public Member Functions

static QString expandString (const QString &value)
 

Public Attributes

KConfig::OpenFlags openFlags
 
const char * resourceType
 

Protected Member Functions

 KConfigPrivate (const KComponentData &componentData_, KConfig::OpenFlags flags, const char *resource)
 
virtual ~KConfigPrivate ()
 

Protected Attributes

bool bDynamicBackend:1
 
KSharedPtr< KConfigBackend > mBackend
 

Detailed Description

Definition at line 42 of file kconfig_p.h.

Constructor & Destructor Documentation

KConfigPrivate::KConfigPrivate ( const KComponentData &  componentData_,
KConfig::OpenFlags  flags,
const char *  resource 
)
protected

Definition at line 56 of file kconfig.cpp.

virtual KConfigPrivate::~KConfigPrivate ( )
inlineprotectedvirtual

Definition at line 77 of file kconfig_p.h.

Member Function Documentation

QSet< QByteArray > KConfigPrivate::allSubGroups ( const QByteArray &  parentGroup) const

Definition at line 303 of file kconfig.cpp.

bool KConfigPrivate::canWriteEntry ( const QByteArray &  group,
const char *  key,
bool  isDefault = false 
) const

Definition at line 832 of file kconfig.cpp.

void KConfigPrivate::changeFileName ( const QString &  fileName,
const char *  resourceType 
)

Definition at line 509 of file kconfig.cpp.

void KConfigPrivate::copyGroup ( const QByteArray &  source,
const QByteArray &  destination,
KConfigGroup *  otherGroup,
KConfigBase::WriteConfigFlags  flags 
) const

Definition at line 109 of file kconfig.cpp.

QString KConfigPrivate::expandString ( const QString &  value)
static

Definition at line 155 of file kconfig.cpp.

QStringList KConfigPrivate::groupList ( const QByteArray &  group) const

Definition at line 278 of file kconfig.cpp.

bool KConfigPrivate::hasNonDeletedEntries ( const QByteArray &  group) const

Definition at line 316 of file kconfig.cpp.

QStringList KConfigPrivate::keyListImpl ( const QByteArray &  theGroup) const

Definition at line 328 of file kconfig.cpp.

QString KConfigPrivate::lookupData ( const QByteArray &  group,
const char *  key,
KEntryMap::SearchFlags  flags,
bool *  expand 
) const

Definition at line 876 of file kconfig.cpp.

QByteArray KConfigPrivate::lookupData ( const QByteArray &  group,
const char *  key,
KEntryMap::SearchFlags  flags 
) const

Definition at line 865 of file kconfig.cpp.

void KConfigPrivate::putData ( const QByteArray &  group,
const char *  key,
const QByteArray &  value,
KConfigBase::WriteConfigFlags  flags,
bool  expand = false 
)

Definition at line 840 of file kconfig.cpp.

void KConfigPrivate::revertEntry ( const QByteArray &  group,
const char *  key 
)

Definition at line 858 of file kconfig.cpp.

Member Data Documentation

bool KConfigPrivate::bDynamicBackend
protected

Definition at line 81 of file kconfig_p.h.

KSharedPtr<KConfigBackend> KConfigPrivate::mBackend
protected

Definition at line 72 of file kconfig_p.h.

KConfig::OpenFlags KConfigPrivate::openFlags

Definition at line 46 of file kconfig_p.h.

const char* KConfigPrivate::resourceType

Definition at line 47 of file kconfig_p.h.


The documentation for this class was generated from the following files:
  • kconfig_p.h
  • kconfig.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

Skip menu "KDECore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal