PyKDE - Python Bindings for KDE
class KConfigSkeleton
Table of contents
Modules
tdecore Classes
All Classes
Module
tdecore
Class
KConfigSkeleton
Inherits
methods
KConfigSkeleton
(configname = TQString .null)
returns
a KConfigSkeleton instance
In versions KDE 3.2.0 and above only
Argument
Type
Default
configname
TQString
TQString .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 = TQString .null)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
a0
KConfigSkeletonItem
name
TQString
TQString .null
addItemBool
(name, value, defaultValue, key = TQString.null)
returns
(ItemBool) reference (bool)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
value
bool
defaultValue
bool
key
TQString
TQString.null
addItemColor
(name, reference, defaultValue = TQColor (128 ,128 ,128 ), key = TQString .null)
returns
(ItemColor)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
reference
TQColor
defaultValue
TQColor
TQColor (128 ,128 ,128 )
key
TQString
TQString .null
addItemDateTime
(name, reference, defaultValue = TQDateTime (), key = TQString .null)
returns
(ItemDateTime)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
reference
TQDateTime
defaultValue
TQDateTime
TQDateTime ()
key
TQString
TQString .null
addItemDouble
(name, value, defaultValue, key = TQString.null)
returns
(ItemDouble) reference (double)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
value
double
defaultValue
double
key
TQString
TQString.null
addItemFont
(name, reference, defaultValue = KGlobalSettings .generalFont (), key = TQString .null)
returns
(ItemFont)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
reference
TQFont
defaultValue
TQFont
KGlobalSettings .generalFont ()
key
TQString
TQString .null
addItemInt
(name, value, defaultValue, key = TQString.null)
returns
(ItemInt) reference (int)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
value
int
defaultValue
int
key
TQString
TQString.null
addItemInt64
(name, reference, defaultValue = 0, key = TQString .null)
returns
(KConfigSkeleton.ItemInt64)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
reference
longlong
defaultValue
longlong
0
key
TQString
TQString .null
addItemIntList
(name, reference, defaultValue = [], key = TQString.null)
returns
a Python list of int,
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
reference
a Python list of int
defaultValue
a Python list of int
[]
key
TQString
TQString.null
addItemLong
(name, value, defaultValue, key = TQString.null)
returns
(ItemLong) reference (long)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
value
long
defaultValue
long
key
TQString
TQString.null
addItemPassword
(name, reference, defaultValue = TQString .fromLatin1 ("" ), key = TQString .null)
returns
(KConfigSkeleton.ItemPassword)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
reference
TQString
defaultValue
TQString
TQString .fromLatin1 ("" )
key
TQString
TQString .null
addItemPath
(name, reference, defaultValue = TQString .fromLatin1 ("" ), key = TQString .null)
returns
(KConfigSkeleton.ItemPath)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
reference
TQString
defaultValue
TQString
TQString .fromLatin1 ("" )
key
TQString
TQString .null
addItemPoint
(name, reference, defaultValue = TQPoint (), key = TQString .null)
returns
(ItemPoint)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
reference
TQPoint
defaultValue
TQPoint
TQPoint ()
key
TQString
TQString .null
addItemProperty
(name, reference, defaultValue = TQVariant (), key = TQString .null)
returns
(ItemProperty)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
reference
TQVariant
defaultValue
TQVariant
TQVariant ()
key
TQString
TQString .null
addItemRect
(name, reference, defaultValue = TQRect (), key = TQString .null)
returns
(ItemRect)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
reference
TQRect
defaultValue
TQRect
TQRect ()
key
TQString
TQString .null
addItemSize
(name, reference, defaultValue = TQSize (), key = TQString .null)
returns
(ItemSize)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
reference
TQSize
defaultValue
TQSize
TQSize ()
key
TQString
TQString .null
addItemString
(name, reference, defaultValue = TQString .fromLatin1 ("" ), key = TQString .null)
returns
(ItemString)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
reference
TQString
defaultValue
TQString
TQString .fromLatin1 ("" )
key
TQString
TQString .null
addItemStringList
(name, reference, defaultValue = TQStringList (), key = TQString .null)
returns
(KConfigSkeleton.ItemStringList)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
reference
TQStringList
defaultValue
TQStringList
TQStringList ()
key
TQString
TQString .null
addItemUInt
(name, value, defaultValue, key = TQString.null)
returns
(ItemUInt) reference (uint)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
value
uint
defaultValue
uint
key
TQString
TQString.null
addItemUInt64
(name, reference, defaultValue = 0, key = TQString .null)
returns
(KConfigSkeleton.ItemUInt64)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
reference
ulonglong
defaultValue
ulonglong
0
key
TQString
TQString .null
addItemULong
(name, value, defaultValue, key = TQString.null)
returns
(ItemULong) reference (ulong)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
value
ulong
defaultValue
ulong
key
TQString
TQString.null
config
()
returns
(KConfig)
In versions KDE 3.2.0 and above only
currentGroup
()
returns
(TQString)
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
TQString
isImmutable
(name)
returns
(bool)
In versions KDE 3.2.0 and above only
Argument
Type
Default
name
TQString
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
TQString
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