ItemBool Class Reference
from PyKDE4.kdecore import *
Inherits: KConfigSkeletonItem
Namespace: KCoreConfigSkeleton
Detailed Description
Class for handling a bool preferences item.
Methods |
| __init__ (self, QString _group, QString _key, bool reference, bool defaultValue=1) |
bool | isEqual (self, QVariant p) |
QVariant | property (self) |
| readConfig (self, KConfig config) |
| readDefault (self, KConfig config) |
| setDefault (self) |
| setDefaultValue (self, bool v) |
| setProperty (self, QVariant p) |
| setValue (self, bool v) |
| swapDefault (self) |
bool | value (self) |
| writeConfig (self, KConfig config) |
Method Documentation
__init__ |
( |
self, |
|
|
|
QString |
_group, |
|
|
QString |
_key, |
|
|
bool |
reference, |
|
|
bool |
defaultValue=1 |
|
) |
|
|
|
KConfigSkeletonGenericItem.KConfigSkeletonGenericItem
KConfigSkeletonItem.isEqual(const QVariant &) const
KConfigSkeletonItem.property() const
readConfig |
( |
self, |
|
|
|
KConfig |
config |
|
) |
|
|
|
KConfigSkeletonItem.readConfig(KConfig*)
readDefault |
( |
self, |
|
|
|
KConfig |
config |
|
) |
|
|
|
setDefaultValue |
( |
self, |
|
|
|
bool |
v |
|
) |
|
|
|
KConfigSkeletonItem.setProperty(const QVariant&)
setValue |
( |
self, |
|
|
|
bool |
v |
|
) |
|
|
|
writeConfig |
( |
self, |
|
|
|
KConfig |
config |
|
) |
|
|
|