PyKDE - Python Bindings for KDE
class TDEConfigBase
Table of contents
Modules
tdecore Classes
All Classes
Module
tdecore
Class
TDEConfigBase
(
abstract
)
Inherits
TQObject
enums
ConfigState
= {NoAccess, ReadOnly, ReadWrite }
methods
TDEConfigBase
()
returns
a TDEConfigBase instance
checkConfigFilesWritable
(warnUser)
returns
(bool)
In versions KDE 3.2.0 and above only
Argument
Type
Default
warnUser
bool
deleteEntry
(pKey, bNLS = 0, bGlobal = 0)
returns
nothing
Argument
Type
Default
pKey
TQString
bNLS
bool
0
bGlobal
bool
0
deleteEntry
(pKey, bNLS = 0, bGlobal = 0)
returns
nothing
Argument
Type
Default
pKey
char
bNLS
bool
0
bGlobal
bool
0
deleteGroup
(group, bDeep = 1, bGlobal = 0)
returns
(bool)
Argument
Type
Default
group
TQString
bDeep
bool
1
bGlobal
bool
0
entryIsImmutable
(key)
returns
(bool)
Argument
Type
Default
key
TQString
entryMap
(group) = 0
returns
(TQMap
)
pure virtual
Argument
Type
Default
group
TQString
getConfigState
()
returns
(ConfigState)
group
()
returns
(TQString)
groupIsImmutable
(group)
returns
(bool)
Argument
Type
Default
group
TQString
groupList
() = 0
returns
(TQStringList)
pure virtual
hasDefault
(key)
returns
(bool)
In versions KDE 3.2.0 and above only
Argument
Type
Default
key
TQString
hasGroup
(group)
returns
(bool)
Argument
Type
Default
group
TQString
hasGroup
(_pGroup)
returns
(bool)
Argument
Type
Default
_pGroup
TQCString
hasGroup
(_pGroup)
returns
(bool)
Argument
Type
Default
_pGroup
char
hasKey
(key)
returns
(bool)
Argument
Type
Default
key
TQString
hasKey
(pKey)
returns
(bool)
Argument
Type
Default
pKey
char
internalEntryMap
(pGroup) = 0
returns
(KEntryMap)
pure virtual
Argument
Type
Default
pGroup
TQString
internalEntryMap
() = 0
returns
(KEntryMap)
pure virtual
internalHasGroup
(group) = 0
returns
(bool)
pure virtual
Argument
Type
Default
group
TQCString
isDirty
()
returns
(bool)
isDollarExpansion
()
returns
(bool)
isImmutable
()
returns
(bool)
isReadOnly
()
returns
(bool)
locale
()
returns
(TQString)
lookupData
(_key) = 0
returns
(KEntry)
pure virtual
Argument
Type
Default
_key
KEntryKey
parseConfigFiles
()
returns
nothing
putData
(_key, _data, _checkGroup = 1) = 0
returns
nothing
pure virtual
Argument
Type
Default
_key
KEntryKey
_data
KEntry
_checkGroup
bool
1
readBoolEntry
(pKey, bDefault = 0)
returns
(bool)
Argument
Type
Default
pKey
TQString
bDefault
bool
0
readBoolEntry
(pKey, bDefault = 0)
returns
(bool)
Argument
Type
Default
pKey
char
bDefault
bool
0
readColorEntry
(pKey, pDefault = 0)
returns
(TQColor)
Argument
Type
Default
pKey
TQString
pDefault
TQColor
0
readColorEntry
(pKey, pDefault = 0)
returns
(TQColor)
Argument
Type
Default
pKey
char
pDefault
TQColor
0
readDateTimeEntry
(pKey, pDefault = 0)
returns
(TQDateTime)
Argument
Type
Default
pKey
TQString
pDefault
TQDateTime
0
readDateTimeEntry
(pKey, pDefault = 0)
returns
(TQDateTime)
Argument
Type
Default
pKey
char
pDefault
TQDateTime
0
readDefaults
()
returns
(bool)
In versions KDE 3.2.0 and above only
readDoubleNumEntry
(pKey, nDefault = 0.0)
returns
(double)
Argument
Type
Default
pKey
TQString
nDefault
double
0.0
readDoubleNumEntry
(pKey, nDefault = 0.0)
returns
(double)
Argument
Type
Default
pKey
char
nDefault
double
0.0
readEntry
(pKey, aDefault = TQString .null)
returns
(TQString)
Argument
Type
Default
pKey
TQString
aDefault
TQString
TQString .null
readEntry
(pKey, aDefault = TQString .null)
returns
(TQString)
Argument
Type
Default
pKey
char
aDefault
TQString
TQString .null
readEntryUntranslated
(pKey, aDefault = TQString .null)
returns
(TQString)
Argument
Type
Default
pKey
TQString
aDefault
TQString
TQString .null
readEntryUntranslated
(pKey, aDefault = TQString .null)
returns
(TQString)
Argument
Type
Default
pKey
char
aDefault
TQString
TQString .null
readEntryUtf8
(pKey)
returns
(TQCString)
Argument
Type
Default
pKey
char
readFontEntry
(pKey, pDefault = 0)
returns
(TQFont)
Argument
Type
Default
pKey
TQString
pDefault
TQFont
0
readFontEntry
(pKey, pDefault = 0)
returns
(TQFont)
Argument
Type
Default
pKey
char
pDefault
TQFont
0
readIntListEntry
(pKey)
returns
(TQValueList
)
Argument
Type
Default
pKey
TQString
readIntListEntry
(pKey)
returns
(TQValueList
)
Argument
Type
Default
pKey
char
readListEntry
(pKey, list, sep = ',')
returns
(int)
Argument
Type
Default
pKey
TQString
list
TQStrList
sep
char
','
readListEntry
(pKey, list, sep = ',')
returns
(int)
Argument
Type
Default
pKey
char
list
TQStrList
sep
char
','
readListEntry
(pKey, sep = ',')
returns
(TQStringList)
Argument
Type
Default
pKey
TQString
sep
char
','
readListEntry
(pKey, sep = ',')
returns
(TQStringList)
Argument
Type
Default
pKey
char
sep
char
','
readListEntry
(pKey, aDefault, sep = ',')
returns
(TQStringList)
In versions KDE 3.3.0 and above only
Argument
Type
Default
pKey
char
aDefault
TQStringList
sep
char
','
readLongNumEntry
(pKey, nDefault = 0)
returns
(long)
Argument
Type
Default
pKey
TQString
nDefault
long
0
readLongNumEntry
(pKey, nDefault = 0)
returns
(long)
Argument
Type
Default
pKey
char
nDefault
long
0
readNum64Entry
(pKey, nDefault = 0)
returns
(longlong)
In versions KDE 3.2.0 and above only
Argument
Type
Default
pKey
TQString
nDefault
longlong
0
readNum64Entry
(pKey, nDefault = 0)
returns
(longlong)
In versions KDE 3.2.0 and above only
Argument
Type
Default
pKey
char
nDefault
longlong
0
readNumEntry
(pKey, nDefault = 0)
returns
(int)
Argument
Type
Default
pKey
TQString
nDefault
int
0
readNumEntry
(pKey, nDefault = 0)
returns
(int)
Argument
Type
Default
pKey
char
nDefault
int
0
readPathEntry
(pKey, aDefault = TQString .null)
returns
(TQString)
Argument
Type
Default
pKey
TQString
aDefault
TQString
TQString .null
readPathEntry
(pKey, aDefault = TQString .null)
returns
(TQString)
Argument
Type
Default
pKey
char
aDefault
TQString
TQString .null
readPathListEntry
(pKey, sep = ',')
returns
(TQStringList)
In versions KDE 3.1.3 and above only
Argument
Type
Default
pKey
TQString
sep
char
','
readPathListEntry
(pKey, sep = ',')
returns
(TQStringList)
In versions KDE 3.1.3 and above only
Argument
Type
Default
pKey
char
sep
char
','
readPointEntry
(pKey, pDefault = 0)
returns
(TQPoint)
Argument
Type
Default
pKey
TQString
pDefault
TQPoint
0
readPointEntry
(pKey, pDefault = 0)
returns
(TQPoint)
Argument
Type
Default
pKey
char
pDefault
TQPoint
0
readPropertyEntry
(pKey, a0)
returns
(TQVariant)
Argument
Type
Default
pKey
TQString
a0
TQVariant.Type
readPropertyEntry
(pKey, a0)
returns
(TQVariant)
Argument
Type
Default
pKey
char
a0
TQVariant.Type
readPropertyEntry
(pKey, aDefault)
returns
(TQVariant)
Argument
Type
Default
pKey
TQString
aDefault
TQVariant
readPropertyEntry
(pKey, aDefault)
returns
(TQVariant)
Argument
Type
Default
pKey
char
aDefault
TQVariant
readRectEntry
(pKey, pDefault = 0)
returns
(TQRect)
Argument
Type
Default
pKey
TQString
pDefault
TQRect
0
readRectEntry
(pKey, pDefault = 0)
returns
(TQRect)
Argument
Type
Default
pKey
char
pDefault
TQRect
0
readSizeEntry
(pKey, pDefault = 0)
returns
(TQSize)
Argument
Type
Default
pKey
TQString
pDefault
TQSize
0
readSizeEntry
(pKey, pDefault = 0)
returns
(TQSize)
Argument
Type
Default
pKey
char
pDefault
TQSize
0
readUnsignedLongNumEntry
(pKey, nDefault = 0)
returns
(ulong)
Argument
Type
Default
pKey
TQString
nDefault
ulong
0
readUnsignedLongNumEntry
(pKey, nDefault = 0)
returns
(ulong)
Argument
Type
Default
pKey
char
nDefault
ulong
0
readUnsignedNum64Entry
(pKey, nDefault = 0)
returns
(ulonglong)
In versions KDE 3.2.0 and above only
Argument
Type
Default
pKey
TQString
nDefault
ulonglong
0
readUnsignedNum64Entry
(pKey, nDefault = 0)
returns
(ulonglong)
In versions KDE 3.2.0 and above only
Argument
Type
Default
pKey
char
nDefault
ulonglong
0
readUnsignedNumEntry
(pKey, nDefault = 0)
returns
(uint)
Argument
Type
Default
pKey
TQString
nDefault
uint
0
readUnsignedNumEntry
(pKey, nDefault = 0)
returns
(uint)
Argument
Type
Default
pKey
char
nDefault
uint
0
reparseConfiguration
() = 0
returns
nothing
pure virtual
revertToDefault
(key)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
key
TQString
rollback
(bDeep = 1)
returns
nothing
Argument
Type
Default
bDeep
bool
1
setDesktopGroup
()
returns
nothing
setDirty
(_bDirty = 1)
returns
nothing
Argument
Type
Default
_bDirty
bool
1
setDollarExpansion
(_bExpand = 1)
returns
nothing
Argument
Type
Default
_bExpand
bool
1
setGroup
(group)
returns
nothing
Argument
Type
Default
group
TQString
setGroup
(pGroup)
returns
nothing
Argument
Type
Default
pGroup
TQCString
setGroup
(pGroup)
returns
nothing
Argument
Type
Default
pGroup
char
setLocale
()
returns
nothing
setReadDefaults
(b)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
b
bool
setReadOnly
(_ro)
returns
nothing
Argument
Type
Default
_ro
bool
sync
()
returns
nothing
writeEntry
(pKey, pValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
TQString
pValue
TQString
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, pValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
char
pValue
TQString
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, pValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
TQString
pValue
char
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, pValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
char
pValue
char
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, nValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
TQString
nValue
int
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, nValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
char
nValue
int
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, nValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
pKey
TQString
nValue
longlong
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, nValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
pKey
char
nValue
longlong
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, nValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
pKey
TQString
nValue
ulonglong
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, nValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
pKey
char
nValue
ulonglong
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, nValue, bPersistent = 1, bGlobal = 0, format = 'g', precision = 6, bNLS = 0)
Not Implemented
writeEntry
(pKey, nValue, bPersistent = 1, bGlobal = 0, format = 'g', precision = 6, bNLS = 0)
Not Implemented
writeEntry
(pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
TQString
rValue
TQVariant
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, rFont, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
TQString
rFont
TQFont
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, rFont, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
char
rFont
TQFont
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, rColor, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
TQString
rColor
TQColor
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, rColor, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
char
rColor
TQColor
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, rDateTime, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
TQString
rDateTime
TQDateTime
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, rDateTime, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
char
rDateTime
TQDateTime
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
TQString
rValue
TQRect
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
char
rValue
TQRect
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
TQString
rValue
TQPoint
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
char
rValue
TQPoint
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
char
rValue
TQVariant
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
TQString
rValue
TQSize
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
char
rValue
TQSize
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, rValue, sep = ',', bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
TQString
rValue
TQStrList
sep
char
','
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, rValue, sep = ',', bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
char
rValue
TQStrList
sep
char
','
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, rValue, sep = ',', bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
TQString
rValue
TQStringList
sep
char
','
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, rValue, sep = ',', bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
char
rValue
TQStringList
sep
char
','
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
TQString
rValue
TQValueList
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writeEntry
(pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
char
rValue
TQValueList
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writePathEntry
(pKey, path, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
TQString
path
TQString
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writePathEntry
(pKey, path, bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
Argument
Type
Default
pKey
char
path
TQString
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writePathEntry
(pKey, rValue, sep = ',', bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
In versions KDE 3.1.3 and above only
Argument
Type
Default
pKey
TQString
rValue
TQStringList
sep
char
','
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0
writePathEntry
(pKey, rValue, sep = ',', bPersistent = 1, bGlobal = 0, bNLS = 0)
returns
nothing
In versions KDE 3.1.3 and above only
Argument
Type
Default
pKey
char
rValue
TQStringList
sep
char
','
bPersistent
bool
1
bGlobal
bool
0
bNLS
bool
0