#### PyKDE - Python Bindings for KDE

# class KConfigSkeleton

Table of contents
Modules
kdecore Classes
All Classes

Module | kdecore
Class | KConfigSkeleton
Inherits |

### methods

- KConfigSkeleton (configname = QString .null)

  returns a KConfigSkeleton instance
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  configname | QString | QString .null

- KConfigSkeleton (config)

  returns a KConfigSkeleton instance
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  config | KSharedConfig.Ptr |

- addItem (a0, name = QString .null)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | KConfigSkeletonItem |
  name | QString | QString .null

- addItemBool (name, value, defaultValue, key = QString.null)

  returns (ItemBool) reference (bool)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  value | bool |
  defaultValue | bool |
  key | QString | QString.null

- addItemColor (name, reference, defaultValue = QColor (128 ,128 ,128 ), key = QString .null)

  returns (ItemColor)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  reference | QColor |
  defaultValue | QColor | QColor (128 ,128 ,128 )
  key | QString | QString .null

- addItemDateTime (name, reference, defaultValue = QDateTime (), key = QString .null)

  returns (ItemDateTime)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  reference | QDateTime |
  defaultValue | QDateTime | QDateTime ()
  key | QString | QString .null

- addItemDouble (name, value, defaultValue, key = QString.null)

  returns (ItemDouble) reference (double)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  value | double |
  defaultValue | double |
  key | QString | QString.null

- addItemFont (name, reference, defaultValue = KGlobalSettings .generalFont (), key = QString .null)

  returns (ItemFont)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  reference | QFont |
  defaultValue | QFont | KGlobalSettings .generalFont ()
  key | QString | QString .null

- addItemInt (name, value, defaultValue, key = QString.null)

  returns (ItemInt) reference (int)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  value | int |
  defaultValue | int |
  key | QString | QString.null

- addItemInt64 (name, reference, defaultValue = 0, key = QString .null)

  returns (KConfigSkeleton.ItemInt64)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  reference | longlong |
  defaultValue | longlong | 0
  key | QString | QString .null

- addItemIntList (name, reference, defaultValue = [], key = QString.null)

  returns a Python list of int,
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  reference | a Python list of int |
  defaultValue | a Python list of int | []
  key | QString | QString.null

- addItemLong (name, value, defaultValue, key = QString.null)

  returns (ItemLong) reference (long)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  value | long |
  defaultValue | long |
  key | QString | QString.null

- addItemPassword (name, reference, defaultValue = QString .fromLatin1 ("" ), key = QString .null)

  returns (KConfigSkeleton.ItemPassword)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  reference | QString |
  defaultValue | QString | QString .fromLatin1 ("" )
  key | QString | QString .null

- addItemPath (name, reference, defaultValue = QString .fromLatin1 ("" ), key = QString .null)

  returns (KConfigSkeleton.ItemPath)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  reference | QString |
  defaultValue | QString | QString .fromLatin1 ("" )
  key | QString | QString .null

- addItemPoint (name, reference, defaultValue = QPoint (), key = QString .null)

  returns (ItemPoint)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  reference | QPoint |
  defaultValue | QPoint | QPoint ()
  key | QString | QString .null

- addItemProperty (name, reference, defaultValue = QVariant (), key = QString .null)

  returns (ItemProperty)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  reference | QVariant |
  defaultValue | QVariant | QVariant ()
  key | QString | QString .null

- addItemRect (name, reference, defaultValue = QRect (), key = QString .null)

  returns (ItemRect)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  reference | QRect |
  defaultValue | QRect | QRect ()
  key | QString | QString .null

- addItemSize (name, reference, defaultValue = QSize (), key = QString .null)

  returns (ItemSize)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  reference | QSize |
  defaultValue | QSize | QSize ()
  key | QString | QString .null

- addItemString (name, reference, defaultValue = QString .fromLatin1 ("" ), key = QString .null)

  returns (ItemString)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  reference | QString |
  defaultValue | QString | QString .fromLatin1 ("" )
  key | QString | QString .null

- addItemStringList (name, reference, defaultValue = QStringList (), key = QString .null)

  returns (KConfigSkeleton.ItemStringList)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  reference | QStringList |
  defaultValue | QStringList | QStringList ()
  key | QString | QString .null

- addItemUInt (name, value, defaultValue, key = QString.null)

  returns (ItemUInt) reference (uint)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  value | uint |
  defaultValue | uint |
  key | QString | QString.null

- addItemUInt64 (name, reference, defaultValue = 0, key = QString .null)

  returns (KConfigSkeleton.ItemUInt64)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  reference | ulonglong |
  defaultValue | ulonglong | 0
  key | QString | QString .null

- addItemULong (name, value, defaultValue, key = QString.null)

  returns (ItemULong) reference (ulong)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  value | ulong |
  defaultValue | ulong |
  key | QString | QString.null

- config ()

  returns (KConfig)
  In versions KDE 3.2.0 and above only

- currentGroup ()

  returns (QString)
  In versions KDE 3.2.0 and above only

- findItem (name)

  returns (KConfigSkeletonItem)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |

- isImmutable (name)

  returns (bool)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |

- items ()

  returns (a Python list of Items),
  In versions KDE 3.2.0 and above only

- readConfig ()

  returns nothing
  In versions KDE 3.2.0 and above only

- setCurrentGroup (group)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  group | QString |

- setDefaults ()

  returns nothing
  In versions KDE 3.2.0 and above only

- useDefaults (b)

  returns (bool)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  b | bool |

- usrReadConfig ()

  returns nothing
  In versions KDE 3.2.0 and above only

- usrSetDefaults ()

  returns nothing
  In versions KDE 3.2.0 and above only

- usrUseDefaults (a0)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

- usrWriteConfig ()

  returns nothing
  In versions KDE 3.2.0 and above only

- writeConfig ()

  returns nothing
  In versions KDE 3.2.0 and above only