C# 클래스 Kimono.KCoreConfigSkeleton

상속: Qyoto.QObject, IDisposable
파일 보기 프로젝트 열기: 0xd34df00d/Qross 1 사용 예제들

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
CreateProxy ( ) : void
KCoreConfigSkeleton ( Type dummy ) : System

비공개 메소드들

메소드 설명
ReadConfig ( ) : void
SetDefaults ( ) : void
UseDefaults ( bool b ) : bool
UsrReadConfig ( ) : void
UsrSetDefaults ( ) : void
UsrUseDefaults ( bool b ) : bool
UsrWriteConfig ( ) : void
WriteConfig ( ) : void

메소드 상세

AddItem() 공개 메소드

public AddItem ( Kimono.KConfigSkeletonItem arg1 ) : void
arg1 Kimono.KConfigSkeletonItem
리턴 void

AddItem() 공개 메소드

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.
public AddItem ( Kimono.KConfigSkeletonItem arg1, string name ) : void
arg1 Kimono.KConfigSkeletonItem
name string
리턴 void

AddItemBool() 공개 메소드

public AddItemBool ( string name, bool reference ) : KCoreConfigSkeleton.ItemBool
name string
reference bool
리턴 KCoreConfigSkeleton.ItemBool

AddItemBool() 공개 메소드

public AddItemBool ( string name, bool reference, bool defaultValue ) : KCoreConfigSkeleton.ItemBool
name string
reference bool
defaultValue bool
리턴 KCoreConfigSkeleton.ItemBool

AddItemBool() 공개 메소드

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.
public AddItemBool ( string name, bool reference, bool defaultValue, string key ) : KCoreConfigSkeleton.ItemBool
name string
reference bool
defaultValue bool
key string
리턴 KCoreConfigSkeleton.ItemBool

AddItemDateTime() 공개 메소드

public AddItemDateTime ( string name, Qyoto.QDateTime reference ) : KCoreConfigSkeleton.ItemDateTime
name string
reference Qyoto.QDateTime
리턴 KCoreConfigSkeleton.ItemDateTime

AddItemDateTime() 공개 메소드

public AddItemDateTime ( string name, Qyoto.QDateTime reference, Qyoto.QDateTime defaultValue ) : KCoreConfigSkeleton.ItemDateTime
name string
reference Qyoto.QDateTime
defaultValue Qyoto.QDateTime
리턴 KCoreConfigSkeleton.ItemDateTime

AddItemDateTime() 공개 메소드

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.
public AddItemDateTime ( string name, Qyoto.QDateTime reference, Qyoto.QDateTime defaultValue, string key ) : KCoreConfigSkeleton.ItemDateTime
name string
reference Qyoto.QDateTime
defaultValue Qyoto.QDateTime
key string
리턴 KCoreConfigSkeleton.ItemDateTime

AddItemDouble() 공개 메소드

public AddItemDouble ( string name, double &reference ) : KCoreConfigSkeleton.ItemDouble
name string
reference double
리턴 KCoreConfigSkeleton.ItemDouble

AddItemDouble() 공개 메소드

public AddItemDouble ( string name, double &reference, double defaultValue ) : KCoreConfigSkeleton.ItemDouble
name string
reference double
defaultValue double
리턴 KCoreConfigSkeleton.ItemDouble

AddItemDouble() 공개 메소드

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.
public AddItemDouble ( string name, double &reference, double defaultValue, string key ) : KCoreConfigSkeleton.ItemDouble
name string
reference double
defaultValue double
key string
리턴 KCoreConfigSkeleton.ItemDouble

AddItemInt() 공개 메소드

public AddItemInt ( string name, int &reference ) : KCoreConfigSkeleton.ItemInt
name string
reference int
리턴 KCoreConfigSkeleton.ItemInt

AddItemInt() 공개 메소드

public AddItemInt ( string name, int &reference, int defaultValue ) : KCoreConfigSkeleton.ItemInt
name string
reference int
defaultValue int
리턴 KCoreConfigSkeleton.ItemInt

AddItemInt() 공개 메소드

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.
public AddItemInt ( string name, int &reference, int defaultValue, string key ) : KCoreConfigSkeleton.ItemInt
name string
reference int
defaultValue int
key string
리턴 KCoreConfigSkeleton.ItemInt

AddItemIntList() 공개 메소드

public AddItemIntList ( string name, List reference ) : KCoreConfigSkeleton.ItemIntList
name string
reference List
리턴 KCoreConfigSkeleton.ItemIntList

AddItemIntList() 공개 메소드

public AddItemIntList ( string name, List reference, List defaultValue ) : KCoreConfigSkeleton.ItemIntList
name string
reference List
defaultValue List
리턴 KCoreConfigSkeleton.ItemIntList

AddItemIntList() 공개 메소드

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.
public AddItemIntList ( string name, List reference, List defaultValue, string key ) : KCoreConfigSkeleton.ItemIntList
name string
reference List
defaultValue List
key string
리턴 KCoreConfigSkeleton.ItemIntList

AddItemLongLong() 공개 메소드

public AddItemLongLong ( string name, long &reference ) : KCoreConfigSkeleton.ItemLongLong
name string
reference long
리턴 KCoreConfigSkeleton.ItemLongLong

AddItemLongLong() 공개 메소드

public AddItemLongLong ( string name, long &reference, long defaultValue ) : KCoreConfigSkeleton.ItemLongLong
name string
reference long
defaultValue long
리턴 KCoreConfigSkeleton.ItemLongLong

AddItemLongLong() 공개 메소드

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.
public AddItemLongLong ( string name, long &reference, long defaultValue, string key ) : KCoreConfigSkeleton.ItemLongLong
name string
reference long
defaultValue long
key string
리턴 KCoreConfigSkeleton.ItemLongLong

AddItemPassword() 공개 메소드

public AddItemPassword ( string name, StringBuilder reference ) : KCoreConfigSkeleton.ItemPassword
name string
reference StringBuilder
리턴 KCoreConfigSkeleton.ItemPassword

AddItemPassword() 공개 메소드

public AddItemPassword ( string name, StringBuilder reference, string defaultValue ) : KCoreConfigSkeleton.ItemPassword
name string
reference StringBuilder
defaultValue string
리턴 KCoreConfigSkeleton.ItemPassword

AddItemPassword() 공개 메소드

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.
public AddItemPassword ( string name, StringBuilder reference, string defaultValue, string key ) : KCoreConfigSkeleton.ItemPassword
name string
reference StringBuilder
defaultValue string
key string
리턴 KCoreConfigSkeleton.ItemPassword

AddItemPath() 공개 메소드

public AddItemPath ( string name, StringBuilder reference ) : KCoreConfigSkeleton.ItemPath
name string
reference StringBuilder
리턴 KCoreConfigSkeleton.ItemPath

AddItemPath() 공개 메소드

public AddItemPath ( string name, StringBuilder reference, string defaultValue ) : KCoreConfigSkeleton.ItemPath
name string
reference StringBuilder
defaultValue string
리턴 KCoreConfigSkeleton.ItemPath

AddItemPath() 공개 메소드

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.
public AddItemPath ( string name, StringBuilder reference, string defaultValue, string key ) : KCoreConfigSkeleton.ItemPath
name string
reference StringBuilder
defaultValue string
key string
리턴 KCoreConfigSkeleton.ItemPath

AddItemPoint() 공개 메소드

public AddItemPoint ( string name, QPoint reference ) : KCoreConfigSkeleton.ItemPoint
name string
reference QPoint
리턴 KCoreConfigSkeleton.ItemPoint

AddItemPoint() 공개 메소드

public AddItemPoint ( string name, QPoint reference, QPoint defaultValue ) : KCoreConfigSkeleton.ItemPoint
name string
reference QPoint
defaultValue QPoint
리턴 KCoreConfigSkeleton.ItemPoint

AddItemPoint() 공개 메소드

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.
public AddItemPoint ( string name, QPoint reference, QPoint defaultValue, string key ) : KCoreConfigSkeleton.ItemPoint
name string
reference QPoint
defaultValue QPoint
key string
리턴 KCoreConfigSkeleton.ItemPoint

AddItemProperty() 공개 메소드

public AddItemProperty ( string name, QVariant reference ) : KCoreConfigSkeleton.ItemProperty
name string
reference QVariant
리턴 KCoreConfigSkeleton.ItemProperty

AddItemProperty() 공개 메소드

public AddItemProperty ( string name, QVariant reference, QVariant defaultValue ) : KCoreConfigSkeleton.ItemProperty
name string
reference QVariant
defaultValue QVariant
리턴 KCoreConfigSkeleton.ItemProperty

AddItemProperty() 공개 메소드

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.
public AddItemProperty ( string name, QVariant reference, QVariant defaultValue, string key ) : KCoreConfigSkeleton.ItemProperty
name string
reference QVariant
defaultValue QVariant
key string
리턴 KCoreConfigSkeleton.ItemProperty

AddItemRect() 공개 메소드

public AddItemRect ( string name, QRect reference ) : KCoreConfigSkeleton.ItemRect
name string
reference QRect
리턴 KCoreConfigSkeleton.ItemRect

AddItemRect() 공개 메소드

public AddItemRect ( string name, QRect reference, QRect defaultValue ) : KCoreConfigSkeleton.ItemRect
name string
reference QRect
defaultValue QRect
리턴 KCoreConfigSkeleton.ItemRect

AddItemRect() 공개 메소드

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.
public AddItemRect ( string name, QRect reference, QRect defaultValue, string key ) : KCoreConfigSkeleton.ItemRect
name string
reference QRect
defaultValue QRect
key string
리턴 KCoreConfigSkeleton.ItemRect

AddItemSize() 공개 메소드

public AddItemSize ( string name, QSize reference ) : KCoreConfigSkeleton.ItemSize
name string
reference QSize
리턴 KCoreConfigSkeleton.ItemSize

AddItemSize() 공개 메소드

public AddItemSize ( string name, QSize reference, QSize defaultValue ) : KCoreConfigSkeleton.ItemSize
name string
reference QSize
defaultValue QSize
리턴 KCoreConfigSkeleton.ItemSize

AddItemSize() 공개 메소드

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.
public AddItemSize ( string name, QSize reference, QSize defaultValue, string key ) : KCoreConfigSkeleton.ItemSize
name string
reference QSize
defaultValue QSize
key string
리턴 KCoreConfigSkeleton.ItemSize

AddItemString() 공개 메소드

public AddItemString ( string name, StringBuilder reference ) : KCoreConfigSkeleton.ItemString
name string
reference StringBuilder
리턴 KCoreConfigSkeleton.ItemString

AddItemString() 공개 메소드

public AddItemString ( string name, StringBuilder reference, string defaultValue ) : KCoreConfigSkeleton.ItemString
name string
reference StringBuilder
defaultValue string
리턴 KCoreConfigSkeleton.ItemString

AddItemString() 공개 메소드

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.
public AddItemString ( string name, StringBuilder reference, string defaultValue, string key ) : KCoreConfigSkeleton.ItemString
name string
reference StringBuilder
defaultValue string
key string
리턴 KCoreConfigSkeleton.ItemString

AddItemStringList() 공개 메소드

public AddItemStringList ( string name, List reference ) : KCoreConfigSkeleton.ItemStringList
name string
reference List
리턴 KCoreConfigSkeleton.ItemStringList

AddItemStringList() 공개 메소드

public AddItemStringList ( string name, List reference, List defaultValue ) : KCoreConfigSkeleton.ItemStringList
name string
reference List
defaultValue List
리턴 KCoreConfigSkeleton.ItemStringList

AddItemStringList() 공개 메소드

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.
public AddItemStringList ( string name, List reference, List defaultValue, string key ) : KCoreConfigSkeleton.ItemStringList
name string
reference List
defaultValue List
key string
리턴 KCoreConfigSkeleton.ItemStringList

AddItemUInt() 공개 메소드

public AddItemUInt ( string name, int &reference ) : KCoreConfigSkeleton.ItemUInt
name string
reference int
리턴 KCoreConfigSkeleton.ItemUInt

AddItemUInt() 공개 메소드

public AddItemUInt ( string name, int &reference, uint defaultValue ) : KCoreConfigSkeleton.ItemUInt
name string
reference int
defaultValue uint
리턴 KCoreConfigSkeleton.ItemUInt

AddItemUInt() 공개 메소드

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.
public AddItemUInt ( string name, int &reference, uint defaultValue, string key ) : KCoreConfigSkeleton.ItemUInt
name string
reference int
defaultValue uint
key string
리턴 KCoreConfigSkeleton.ItemUInt

AddItemULongLong() 공개 메소드

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.
public AddItemULongLong ( string name, ulong &reference ) : KCoreConfigSkeleton.ItemULongLong
name string
reference ulong
리턴 KCoreConfigSkeleton.ItemULongLong

Config() 공개 메소드

Return the object used for reading and writing the settings.
public Config ( ) : KConfig
리턴 KConfig

CreateProxy() 보호된 메소드

protected CreateProxy ( ) : void
리턴 void

CurrentGroup() 공개 메소드

Returns the current group used for addItem() calls.
public CurrentGroup ( ) : string
리턴 string

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

FindItem() 공개 메소드

Lookup item by name
public FindItem ( string name ) : KConfigSkeletonItem
name string
리턴 KConfigSkeletonItem

IsImmutable() 공개 메소드

Return whether a certain item is immutable
public IsImmutable ( string name ) : bool
name string
리턴 bool

Items() 공개 메소드

Return list of items managed by this KCoreConfigSkeleton object.
public Items ( ) : List
리턴 List

KCoreConfigSkeleton() 공개 메소드

public KCoreConfigSkeleton ( ) : System
리턴 System

KCoreConfigSkeleton() 공개 메소드

public KCoreConfigSkeleton ( KSharedConfig config ) : System
config KSharedConfig
리턴 System

KCoreConfigSkeleton() 공개 메소드

Constructor. name="config" configuration object to use.
public KCoreConfigSkeleton ( KSharedConfig config, QObject parent ) : System
config KSharedConfig
parent QObject
리턴 System

KCoreConfigSkeleton() 보호된 메소드

protected KCoreConfigSkeleton ( Type dummy ) : System
dummy Type
리턴 System

KCoreConfigSkeleton() 공개 메소드

public KCoreConfigSkeleton ( string configname ) : System
configname string
리턴 System

KCoreConfigSkeleton() 공개 메소드

Constructor. name="configname" name of config file. If no name is given, the default config file as returned by KGlobal.Config() is used.
public KCoreConfigSkeleton ( string configname, QObject parent ) : System
configname string
parent QObject
리턴 System

SetCurrentGroup() 공개 메소드

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".
public SetCurrentGroup ( string group ) : void
group string
리턴 void

SetSharedConfig() 공개 메소드

Set the object used for reading and writing the settings.
public SetSharedConfig ( KSharedConfig pConfig ) : void
pConfig KSharedConfig
리턴 void