ItemString Class Reference
from PyKDE4.kdecore import *
Inherits: KConfigSkeletonItem
Namespace: KCoreConfigSkeleton
Detailed Description
Class for handling a string preferences item.
Enumerations |
Type | { Normal, Password, Path } |
Methods |
| __init__ (self, QString _group, QString _key, QString reference, QString defaultValue=QLatin1String(""), KCoreConfigSkeleton.ItemString.Type type=KCoreConfigSkeleton.ItemString.Normal) |
bool | isEqual (self, QVariant p) |
QVariant | property (self) |
| readConfig (self, KConfig config) |
| readDefault (self, KConfig config) |
| setDefault (self) |
| setDefaultValue (self, QString v) |
| setProperty (self, QVariant p) |
| setValue (self, QString v) |
| swapDefault (self) |
QString | value (self) |
| writeConfig (self, KConfig config) |
Method Documentation
KConfigSkeletonGenericItem.KConfigSkeletonGenericItem
- Parameters:
-
| type | The type of string held by the item
|
KConfigSkeletonItem.isEqual(const QVariant &) const
KConfigSkeletonItem.property() const
readConfig |
( |
self, |
|
|
|
KConfig |
config |
|
) |
|
|
|
KConfigSkeletonItem.readConfig(KConfig*)
readDefault |
( |
self, |
|
|
|
KConfig |
config |
|
) |
|
|
|
setDefaultValue |
( |
self, |
|
|
|
QString |
v |
|
) |
|
|
|
KConfigSkeletonItem.setProperty(const QVariant&)
writeConfig |
( |
self, |
|
|
|
KConfig |
config |
|
) |
|
|
|
KConfigSkeletonItem.writeConfig(KConfig*)
Enumeration Documentation
- Enumerator:
-
String = QVariant::String | |
DateTime = QVariant::DateTime | |
Invalid = QVariant::Invalid | |