ItemInt Class Reference
from PyKDE4.kdecore import *
Inherits: KConfigSkeletonItem
Subclasses: KCoreConfigSkeleton.ItemEnum
Namespace: KCoreConfigSkeleton
Detailed Description
Methods |
| __init__ (self, QString _group, QString _key, int reference, int defaultValue=0) |
bool | isEqual (self, QVariant p) |
QVariant | maxValue (self) |
QVariant | minValue (self) |
QVariant | property (self) |
| readConfig (self, KConfig config) |
| readDefault (self, KConfig config) |
| setDefault (self) |
| setDefaultValue (self, int v) |
| setMaxValue (self, int a0) |
| setMinValue (self, int a0) |
| setProperty (self, QVariant p) |
| setValue (self, int v) |
| swapDefault (self) |
int | value (self) |
| writeConfig (self, KConfig config) |
Method Documentation
__init__ |
( |
self, |
|
|
|
QString |
_group, |
|
|
QString |
_key, |
|
|
int |
reference, |
|
|
int |
defaultValue=0 |
|
) |
|
|
|
KConfigSkeletonGenericItem.KConfigSkeletonGenericItem
KConfigSkeletonItem.isEqual(const QVariant &)
Get the maximum value this is allowed to be stored in this item
Get the minimum value that is allowed to be stored in this item
KConfigSkeletonItem.property()
readConfig |
( |
self, |
|
|
|
KConfig |
config |
|
) |
|
|
|
KConfigSkeletonItem.readConfig(KConfig*)
readDefault |
( |
self, |
|
|
|
KConfig |
config |
|
) |
|
|
|
setDefaultValue |
( |
self, |
|
|
|
int |
v |
|
) |
|
|
|
setMaxValue |
( |
self, |
|
|
|
int |
a0 |
|
) |
|
|
|
Set the maximum value for the item
@sa maxValue
setMinValue |
( |
self, |
|
|
|
int |
a0 |
|
) |
|
|
|
Set the minimum value for the item
@sa minValue()
KConfigSkeletonItem.setProperty(const QVariant&)
writeConfig |
( |
self, |
|
|
|
KConfig |
config |
|
) |
|
|
|