|
| ItemEnum (const QString &_group, const QString &_key, qint32 &reference, const QList< Choice > &choices, qint32 defaultValue=0) |
| Constructor.
|
|
QList< Choice > | choices () const |
|
QList< Choice > | choices2 () const |
|
void | readConfig (KConfig *config) override |
| This function is called by KCoreConfigSkeleton to read the value for this setting from a config file.
|
|
void | setValueForChoice (const QString &name, const QString &valueForChoice) |
| Stores a choice value for name .
|
|
QString | valueForChoice (const QString &name) const |
| Returns the value for for the choice with the given name .
|
|
void | writeConfig (KConfig *config) override |
| This function is called by KCoreConfigSkeleton to write the value of this setting to a config file.
|
|
| ItemInt (const QString &_group, const QString &_key, qint32 &reference, qint32 defaultValue=0) |
| Constructor.
|
|
bool | isEqual (const QVariant &p) const override |
| Check whether the item is equal to p .
|
|
QVariant | maxValue () const override |
| Get the maximum value this is allowed to be stored in this item.
|
|
QVariant | minValue () const override |
| Get the minimum value that is allowed to be stored in this item.
|
|
QVariant | property () const override |
| Return item as property.
|
|
void | readConfig (KConfig *config) override |
| This function is called by KCoreConfigSkeleton to read the value for this setting from a config file.
|
|
void | setMaxValue (qint32) |
| Set the maximum value for the item.
|
|
void | setMinValue (qint32) |
| Set the minimum value for the item.
|
|
void | setProperty (const QVariant &p) override |
| Set item to p .
|
|
| KConfigSkeletonGenericItem (const QString &_group, const QString &_key, qint32 &reference, qint32 defaultValue) |
| Constructor.
|
|
void | readDefault (KConfig *config) override |
| Read global default value.
|
|
void | setDefault () override |
| Set the value for this item to the default value.
|
|
virtual void | setDefaultValue (const qint32 &v) |
| Set default value for this item.
|
|
void | setValue (const qint32 &v) |
| Set value of this KConfigSkeletonItem.
|
|
void | swapDefault () override |
| Exchanges the current value with the default value Used by KCoreConfigSkeleton::useDefaults(bool);.
|
|
qint32 & | value () |
| Return value of this KConfigSkeletonItem.
|
|
const qint32 & | value () const |
| Return const value of this KConfigSkeletonItem.
|
|
void | writeConfig (KConfig *config) override |
| This function is called by KCoreConfigSkeleton to write the value of this setting to a config file.
|
|
| KConfigSkeletonItem (const QString &_group, const QString &_key) |
| Constructor.
|
|
virtual | ~KConfigSkeletonItem () |
| Destructor.
|
|
KConfigGroup | configGroup (KConfig *config) const |
| Return a KConfigGroup, the one provided by setGroup(const KConfigGroup&) if it's valid, or make one from config and item's group.
|
|
QVariant | getDefault () const |
| Returns the default value.
|
|
QString | group () const |
| Return name of config file group.
|
|
bool | isDefault () const |
| Indicates if the item is set to its default value.
|
|
virtual bool | isEqual (const QVariant &p) const =0 |
| Check whether the item is equal to p .
|
|
bool | isImmutable () const |
| Return if the entry can be modified.
|
|
bool | isSaveNeeded () const |
| Indicates if the item has a different value than the previously loaded value.
|
|
QString | key () const |
| Return config file key.
|
|
QString | label () const |
| Return the label of the item.
|
|
virtual QVariant | maxValue () const |
| Return maximum value of item or invalid if not specified.
|
|
virtual QVariant | minValue () const |
| Return minimum value of item or invalid if not specified.
|
|
QString | name () const |
| Return internal name of entry.
|
|
virtual QVariant | property () const =0 |
| Return item as property.
|
|
virtual void | readConfig (KConfig *)=0 |
| This function is called by KCoreConfigSkeleton to read the value for this setting from a config file.
|
|
virtual void | readDefault (KConfig *)=0 |
| Read global default value.
|
|
virtual void | setDefault ()=0 |
| Sets the current value to the default value.
|
|
void | setGroup (const KConfigGroup &cg) |
| Set config file group but giving the KConfigGroup.
|
|
void | setGroup (const QString &_group) |
| Set config file group.
|
|
void | setKey (const QString &_key) |
| Set config file key.
|
|
void | setLabel (const QString &l) |
| Set label providing a translated one-line description of the item.
|
|
void | setName (const QString &_name) |
| Set internal name of entry.
|
|
virtual void | setProperty (const QVariant &p)=0 |
| Set item to p .
|
|
void | setToolTip (const QString &t) |
| Set ToolTip description of item.
|
|
void | setWhatsThis (const QString &w) |
| Set WhatsThis description of item.
|
|
void | setWriteFlags (KConfigBase::WriteConfigFlags flags) |
| The write flags to be used when writing configuration.
|
|
virtual void | swapDefault ()=0 |
| Exchanges the current value with the default value Used by KCoreConfigSkeleton::useDefaults(bool);.
|
|
QString | toolTip () const |
| Return ToolTip description of item.
|
|
QString | whatsThis () const |
| Return WhatsThis description of item.
|
|
virtual void | writeConfig (KConfig *)=0 |
| This function is called by KCoreConfigSkeleton to write the value of this setting to a config file.
|
|
KConfigBase::WriteConfigFlags | writeFlags () const |
| Return write flags to be used when writing configuration.
|
|
Class for handling enums.