Method |
Description |
|
AddItem ( Kimono.KConfigSkeletonItem arg1 ) : void |
|
|
AddItem ( Kimono.KConfigSkeletonItem arg1, string name ) : void |
Register a custom with a given name. If the name parameter is null, take the name from KConfigSkeletonItem.Key(). Note that all names must be unique but that multiple entries can have the same key if they reside in different groups. |
|
AddItemBool ( string name, bool reference ) : KCoreConfigSkeleton.ItemBool |
|
|
AddItemBool ( string name, bool reference, bool defaultValue ) : KCoreConfigSkeleton.ItemBool |
|
|
AddItemBool ( string name, bool reference, bool defaultValue, string key ) : KCoreConfigSkeleton.ItemBool |
Register an item of type bool. name="name" Name used to identify this setting. Names must be unique. name="reference" Pointer to the variable, which is set by readConfig() calls and read by writeConfig() calls. name="defaultValue" Default value, which is used when the config file does not yet contain the key of this item. name="key" Key used in config file. If key is null, name is used as key. |
|
AddItemDateTime ( string name, Qyoto.QDateTime reference ) : KCoreConfigSkeleton.ItemDateTime |
|
|
AddItemDateTime ( string name, Qyoto.QDateTime reference, Qyoto.QDateTime defaultValue ) : KCoreConfigSkeleton.ItemDateTime |
|
|
AddItemDateTime ( string name, Qyoto.QDateTime reference, Qyoto.QDateTime defaultValue, string key ) : KCoreConfigSkeleton.ItemDateTime |
Register an item of type QDateTime. name="name" Name used to identify this setting. Names must be unique. name="reference" Pointer to the variable, which is set by readConfig() calls and read by writeConfig() calls. name="defaultValue" Default value, which is used when the config file does not yet contain the key of this item. name="key" Key used in config file. If key is null, name is used as key. |
|
AddItemDouble ( string name, double &reference ) : KCoreConfigSkeleton.ItemDouble |
|
|
AddItemDouble ( string name, double &reference, double defaultValue ) : KCoreConfigSkeleton.ItemDouble |
|
|
AddItemDouble ( string name, double &reference, double defaultValue, string key ) : KCoreConfigSkeleton.ItemDouble |
Register an item of type double. name="name" Name used to identify this setting. Names must be unique. name="reference" Pointer to the variable, which is set by readConfig() calls and read by writeConfig() calls. name="defaultValue" Default value, which is used when the config file does not yet contain the key of this item. name="key" Key used in config file. If key is null, name is used as key. |
|
AddItemInt ( string name, int &reference ) : KCoreConfigSkeleton.ItemInt |
|
|
AddItemInt ( string name, int &reference, int defaultValue ) : KCoreConfigSkeleton.ItemInt |
|
|
AddItemInt ( string name, int &reference, int defaultValue, string key ) : KCoreConfigSkeleton.ItemInt |
Register an item of type qint32. name="name" Name used to identify this setting. Names must be unique. name="reference" Pointer to the variable, which is set by readConfig() calls and read by writeConfig() calls. name="defaultValue" Default value, which is used when the config file does not yet contain the key of this item. name="key" Key used in config file. If key is null, name is used as key. |
|
AddItemIntList ( string name, List reference ) : KCoreConfigSkeleton.ItemIntList |
|
|
AddItemIntList ( string name, List reference, List defaultValue ) : KCoreConfigSkeleton.ItemIntList |
|
|
AddItemIntList ( string name, List reference, List defaultValue, string key ) : KCoreConfigSkeleton.ItemIntList |
Register an item of type QList. name="name" Name used to identify this setting. Names must be unique. name="reference" Pointer to the variable, which is set by readConfig() calls and read by writeConfig() calls. name="defaultValue" Default value, which is used when the config file does not yet contain the key of this item. name="key" Key used in config file. If key is null, name is used as key. |
|
AddItemLongLong ( string name, long &reference ) : KCoreConfigSkeleton.ItemLongLong |
|
|
AddItemLongLong ( string name, long &reference, long defaultValue ) : KCoreConfigSkeleton.ItemLongLong |
|
|
AddItemLongLong ( string name, long &reference, long defaultValue, string key ) : KCoreConfigSkeleton.ItemLongLong |
Register an item of type qint64. name="name" Name used to identify this setting. Names must be unique. name="reference" Pointer to the variable, which is set by readConfig() calls and read by writeConfig() calls. name="defaultValue" Default value, which is used when the config file does not yet contain the key of this item. name="key" Key used in config file. If key is null, name is used as key. |
|
AddItemPassword ( string name, StringBuilder reference ) : KCoreConfigSkeleton.ItemPassword |
|
|
AddItemPassword ( string name, StringBuilder reference, string defaultValue ) : KCoreConfigSkeleton.ItemPassword |
|
|
AddItemPassword ( string name, StringBuilder reference, string defaultValue, string key ) : KCoreConfigSkeleton.ItemPassword |
Register a password item of type string. The string value is written encrypted to the config file. Note that the current encryption scheme is very weak. name="name" Name used to identify this setting. Names must be unique. name="reference" Pointer to the variable, which is set by readConfig() calls and read by writeConfig() calls. name="defaultValue" Default value, which is used when the config file does not yet contain the key of this item. name="key" Key used in config file. If key is null, name is used as key. |
|
AddItemPath ( string name, StringBuilder reference ) : KCoreConfigSkeleton.ItemPath |
|
|
AddItemPath ( string name, StringBuilder reference, string defaultValue ) : KCoreConfigSkeleton.ItemPath |
|
|
AddItemPath ( string name, StringBuilder reference, string defaultValue, string key ) : KCoreConfigSkeleton.ItemPath |
Register a path item of type string. The string value is interpreted as a path. This means, dollar expension is activated for this value, so that e.g. $HOME gets expanded. name="name" Name used to identify this setting. Names must be unique. name="reference" Pointer to the variable, which is set by readConfig() calls and read by writeConfig() calls. name="defaultValue" Default value, which is used when the config file does not yet contain the key of this item. name="key" Key used in config file. If key is null, name is used as key. |
|
AddItemPoint ( string name, QPoint reference ) : KCoreConfigSkeleton.ItemPoint |
|
|
AddItemPoint ( string name, QPoint reference, QPoint defaultValue ) : KCoreConfigSkeleton.ItemPoint |
|
|
AddItemPoint ( string name, QPoint reference, QPoint defaultValue, string key ) : KCoreConfigSkeleton.ItemPoint |
Register an item of type QPoint. name="name" Name used to identify this setting. Names must be unique. name="reference" Pointer to the variable, which is set by readConfig() calls and read by writeConfig() calls. name="defaultValue" Default value, which is used when the config file does not yet contain the key of this item. name="key" Key used in config file. If key is null, name is used as key. |
|
AddItemProperty ( string name, QVariant reference ) : KCoreConfigSkeleton.ItemProperty |
|
|
AddItemProperty ( string name, QVariant reference, QVariant defaultValue ) : KCoreConfigSkeleton.ItemProperty |
|
|
AddItemProperty ( string name, QVariant reference, QVariant defaultValue, string key ) : KCoreConfigSkeleton.ItemProperty |
Register a property item of type QVariant. Note that only the following QVariant types are allowed: String, StringList, Font, Point, Rect, Size, Color, Int, UInt, Bool, Double, DateTime and Date. name="name" Name used to identify this setting. Names must be unique. name="reference" Pointer to the variable, which is set by readConfig() calls and read by writeConfig() calls. name="defaultValue" Default value, which is used when the config file does not yet contain the key of this item. name="key" Key used in config file. If key is null, name is used as key. |
|
AddItemRect ( string name, QRect reference ) : KCoreConfigSkeleton.ItemRect |
|
|
AddItemRect ( string name, QRect reference, QRect defaultValue ) : KCoreConfigSkeleton.ItemRect |
|
|
AddItemRect ( string name, QRect reference, QRect defaultValue, string key ) : KCoreConfigSkeleton.ItemRect |
Register an item of type QRect. name="name" Name used to identify this setting. Names must be unique. name="reference" Pointer to the variable, which is set by readConfig() calls and read by writeConfig() calls. name="defaultValue" Default value, which is used when the config file does not yet contain the key of this item. name="key" Key used in config file. If key is null, name is used as key. |
|
AddItemSize ( string name, QSize reference ) : KCoreConfigSkeleton.ItemSize |
|
|
AddItemSize ( string name, QSize reference, QSize defaultValue ) : KCoreConfigSkeleton.ItemSize |
|
|
AddItemSize ( string name, QSize reference, QSize defaultValue, string key ) : KCoreConfigSkeleton.ItemSize |
Register an item of type QSize. name="name" Name used to identify this setting. Names must be unique. name="reference" Pointer to the variable, which is set by readConfig() calls and read by writeConfig() calls. name="defaultValue" Default value, which is used when the config file does not yet contain the key of this item. name="key" Key used in config file. If key is null, name is used as key. |
|
AddItemString ( string name, StringBuilder reference ) : KCoreConfigSkeleton.ItemString |
|
|
AddItemString ( string name, StringBuilder reference, string defaultValue ) : KCoreConfigSkeleton.ItemString |
|
|
AddItemString ( string name, StringBuilder reference, string defaultValue, string key ) : KCoreConfigSkeleton.ItemString |
Register an item of type string. name="name" Name used to identify this setting. Names must be unique. name="reference" Pointer to the variable, which is set by readConfig() calls and read by writeConfig() calls. name="defaultValue" Default value, which is used when the config file does not yet contain the key of this item. name="key" Key used in config file. If key is null, name is used as key. |
|
AddItemStringList ( string name, List reference ) : KCoreConfigSkeleton.ItemStringList |
|
|
AddItemStringList ( string name, List reference, List defaultValue ) : KCoreConfigSkeleton.ItemStringList |
|
|
AddItemStringList ( string name, List reference, List defaultValue, string key ) : KCoreConfigSkeleton.ItemStringList |
Register an item of type List. name="name" Name used to identify this setting. Names must be unique. name="reference" Pointer to the variable, which is set by readConfig() calls and read by writeConfig() calls. name="defaultValue" Default value, which is used when the config file does not yet contain the key of this item. name="key" Key used in config file. If key is null, name is used as key. |
|
AddItemUInt ( string name, int &reference ) : KCoreConfigSkeleton.ItemUInt |
|
|
AddItemUInt ( string name, int &reference, uint defaultValue ) : KCoreConfigSkeleton.ItemUInt |
|
|
AddItemUInt ( string name, int &reference, uint defaultValue, string key ) : KCoreConfigSkeleton.ItemUInt |
Register an item of type quint32. name="name" Name used to identify this setting. Names must be unique. name="reference" Pointer to the variable, which is set by readConfig() calls and read by writeConfig() calls. name="defaultValue" Default value, which is used when the config file does not yet contain the key of this item. name="key" Key used in config file. If key is null, name is used as key. |
|
AddItemULongLong ( string name, ulong &reference ) : KCoreConfigSkeleton.ItemULongLong |
Register an item of type quint64 name="name" Name used to identify this setting. Names must be unique. name="reference" Pointer to the variable, which is set by readConfig() calls and read by writeConfig() calls. name="defaultValue" Default value, which is used when the config file does not yet contain the key of this item. name="key" Key used in config file. If key is null, name is used as key. |
|
Config ( ) : KConfig |
Return the object used for reading and writing the settings. |
|
CurrentGroup ( ) : string |
Returns the current group used for addItem() calls. |
|
Dispose ( ) : void |
|
|
FindItem ( string name ) : KConfigSkeletonItem |
Lookup item by name |
|
IsImmutable ( string name ) : bool |
Return whether a certain item is immutable |
|
Items ( ) : List |
Return list of items managed by this KCoreConfigSkeleton object. |
|
KCoreConfigSkeleton ( ) : System |
|
|
KCoreConfigSkeleton ( KSharedConfig config ) : System |
|
|
KCoreConfigSkeleton ( KSharedConfig config, QObject parent ) : System |
Constructor. name="config" configuration object to use. |
|
KCoreConfigSkeleton ( string configname ) : System |
|
|
KCoreConfigSkeleton ( string configname, QObject parent ) : System |
Constructor. name="configname" name of config file. If no name is given, the default config file as returned by KGlobal.Config() is used. |
|
SetCurrentGroup ( string group ) : void |
Set the config file group for subsequent addItem() calls. It is valid until setCurrentGroup() is called with a new argument. Call this before you add any items. The default value is "No Group". |
|
SetSharedConfig ( KSharedConfig pConfig ) : void |
Set the object used for reading and writing the settings. |
|