• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kdecore
 

kdecore

Public Types | Static Public Member Functions | Friends | List of all members
KSharedConfig Class Reference

#include <kconfig.h>

Inheritance diagram for KSharedConfig:
KConfig KShared KConfigBase

Public Types

typedef KSharedPtr< KSharedConfig > Ptr
 

Static Public Member Functions

static KSharedConfig::Ptr openConfig (const TQString &fileName, bool readOnly=false, bool bUseKDEGlobals=true)
 

Friends

class TQValueList< KSharedConfig * >
 

Additional Inherited Members

- Public Member Functions inherited from KConfig
 KConfig (const TQString &fileName=TQString::null, bool bReadOnly=false, bool bUseKDEGlobals=true, const char *resType="config")
 
 KConfig (KConfigBackEnd *backEnd, bool bReadOnly=false)
 
virtual ~KConfig ()
 
virtual void rollback (bool bDeep=true)
 
virtual TQStringList groupList () const
 
virtual TQMap< TQString, TQString > entryMap (const TQString &pGroup) const
 
virtual void reparseConfiguration ()
 
void setFileWriteMode (int mode)
 
void setForceGlobal (bool force)
 
bool forceGlobal () const
 
void checkUpdate (const TQString &id, const TQString &updateFile)
 
KConfig * copyTo (const TQString &file, KConfig *config=0) const
 
KLockFile::Ptr lockFile (bool bGlobal=false)
 
- Public Member Functions inherited from KShared
 KShared ()
 
 KShared (const KShared &)
 
KShared & operator= (const KShared &)
 
void _KShared_ref () const
 
void _KShared_unref () const
 
int _KShared_count () const
 
- Protected Member Functions inherited from KConfig
virtual bool internalHasGroup (const TQCString &group) const
 
virtual KEntryMap internalEntryMap (const TQString &pGroup) const
 
virtual KEntryMap internalEntryMap () const
 
virtual void putData (const KEntryKey &_key, const KEntry &_data, bool _checkGroup=true)
 
virtual KEntry lookupData (const KEntryKey &_key) const
 
virtual void virtual_hook (int id, void *data)
 
- Protected Attributes inherited from KConfig
KEntryMap aEntryMap
 

Detailed Description

KConfig variant using shared memory.

KSharedConfig provides a reference counted, shared memory variant of KConfig.

Definition at line 273 of file kconfig.h.

Member Function Documentation

KSharedConfig::Ptr KSharedConfig::openConfig ( const TQString &  fileName,
bool  readOnly = false,
bool  bUseKDEGlobals = true 
)
static

Returns a ref-counted pointer to a shared read-write config object.

Parameters
fileNamethe name of the file to use for the configuration
readOnlyset the config object's read-only status
bUseKDEGlobalsToggle reading the global KDE configuration file.

Definition at line 334 of file kconfig.cpp.


The documentation for this class was generated from the following files:
  • kconfig.h
  • kconfig.cpp

kdecore

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

kdecore

Skip menu "kdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdecore by doxygen 1.8.3.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |