KDECore
kcoreconfigskeleton.cpp
Go to the documentation of this file.
826 KCoreConfigSkeleton::ItemStringList::ItemStringList( const QString &_group, const QString &_key,
976 static int kCoreConfigSkeletionDebugArea() { static int s_area = KDebug::registerArea("kdecore (KConfigSkeleton)"); return s_area; }
982 //kDebug(kCoreConfigSkeletionDebugArea()) << "Creating KCoreConfigSkeleton (" << (void *)this << ")";
998 //kDebug(kCoreConfigSkeletionDebugArea()) << "Creating KCoreConfigSkeleton (" << (void *)this << ")";
1117 KCoreConfigSkeleton::ItemString *KCoreConfigSkeleton::addItemString( const QString &name, QString &reference,
1128 KCoreConfigSkeleton::ItemPassword *KCoreConfigSkeleton::addItemPassword( const QString &name, QString &reference,
1138 KCoreConfigSkeleton::ItemPath *KCoreConfigSkeleton::addItemPath( const QString &name, QString &reference,
1148 KCoreConfigSkeleton::ItemProperty *KCoreConfigSkeleton::addItemProperty( const QString &name, QVariant &reference,
1158 KCoreConfigSkeleton::ItemBool *KCoreConfigSkeleton::addItemBool( const QString &name, bool &reference,
1168 KCoreConfigSkeleton::ItemInt *KCoreConfigSkeleton::addItemInt( const QString &name, qint32 &reference,
1178 KCoreConfigSkeleton::ItemUInt *KCoreConfigSkeleton::addItemUInt( const QString &name, quint32 &reference,
1188 KCoreConfigSkeleton::ItemLongLong *KCoreConfigSkeleton::addItemLongLong( const QString &name, qint64 &reference,
1209 KCoreConfigSkeleton::ItemULongLong *KCoreConfigSkeleton::addItemULongLong( const QString &name, quint64 &reference,
1230 KCoreConfigSkeleton::ItemDouble *KCoreConfigSkeleton::addItemDouble( const QString &name, double &reference,
1240 KCoreConfigSkeleton::ItemRect *KCoreConfigSkeleton::addItemRect( const QString &name, QRect &reference,
1250 KCoreConfigSkeleton::ItemPoint *KCoreConfigSkeleton::addItemPoint( const QString &name, QPoint &reference,
1260 KCoreConfigSkeleton::ItemSize *KCoreConfigSkeleton::addItemSize( const QString &name, QSize &reference,
1270 KCoreConfigSkeleton::ItemDateTime *KCoreConfigSkeleton::addItemDateTime( const QString &name, QDateTime &reference,
1280 KCoreConfigSkeleton::ItemStringList *KCoreConfigSkeleton::addItemStringList( const QString &name, QStringList &reference,
1290 KCoreConfigSkeleton::ItemIntList *KCoreConfigSkeleton::addItemIntList( const QString &name, QList<int> &reference,
QVariant maxValue() const
Get the maximum value this is allowed to be stored in this item.
Definition: kcoreconfigskeleton.cpp:352
Class for handling unsigned 64-bit integer preferences item.
Definition: kcoreconfigskeleton.h:698
qlonglong toLongLong(bool *ok) const
KConfigSkeletonItem * findItem(const QString &name)
Lookup item by name.
Definition: kcoreconfigskeleton.cpp:1311
QString readPathEntry(const QString &pKey, const QString &aDefault) const
Reads a path.
Definition: kconfiggroup.cpp:780
void readConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file...
Definition: kcoreconfigskeleton.cpp:453
KConfig * config()
Return the KConfig object used for reading and writing the settings.
Definition: kcoreconfigskeleton.cpp:1018
bool isEqual(const QVariant &p) const
Check whether the item is equal to p.
Definition: kcoreconfigskeleton.cpp:751
ItemInt(const QString &_group, const QString &_key, qint32 &reference, qint32 defaultValue=0)
Constructor.
Definition: kcoreconfigskeleton.cpp:310
iterator insert(const Key &key, const T &value)
ItemSize * addItemSize(const QString &name, QSize &reference, const QSize &defaultValue=QSize(), const QString &key=QString())
Register an item of type QSize.
Definition: kcoreconfigskeleton.cpp:1260
void writePathEntry(const QString &pKey, const QString &path, WriteConfigFlags pFlags=Normal)
Writes a file path to the configuration.
Definition: kconfiggroup.cpp:1074
void readConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file...
Definition: kcoreconfigskeleton.cpp:317
bool isEqual(const QVariant &p) const
Check whether the item is equal to p.
Definition: kcoreconfigskeleton.cpp:335
Class for handling a floating point preference item.
Definition: kcoreconfigskeleton.h:742
Class for handling a string preferences item.
Definition: kcoreconfigskeleton.h:373
virtual void readConfig()
Read preferences from config file.
Definition: kcoreconfigskeleton.cpp:1062
void setMaxValue(quint32)
Set the maximum value for the item.
Definition: kcoreconfigskeleton.cpp:568
Definition: kmacroexpander_unix.cpp:34
void readConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file...
Definition: kcoreconfigskeleton.cpp:901
QVariant maxValue() const
Get the maximum value this is allowed to be stored in this item.
Definition: kcoreconfigskeleton.cpp:555
virtual void writeConfig()
Write preferences to config file.
Definition: kcoreconfigskeleton.cpp:1074
bool hasDefault(const QString &key) const
Whether a default is specified for an entry in either the system wide configuration file or the globa...
Definition: kconfiggroup.cpp:1139
bool isEqual(const QVariant &p) const
Check whether the item is equal to p.
Definition: kcoreconfigskeleton.cpp:930
QDateTime toDateTime() const
void readConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file...
Definition: kcoreconfigskeleton.cpp:285
ItemPathList(const QString &_group, const QString &_key, QStringList &reference, const QStringList &defaultValue=QStringList())
Constructor.
Definition: kcoreconfigskeleton.cpp:861
ItemLongLong * addItemInt64(const QString &name, qint64 &reference, qint64 defaultValue=0, const QString &key=QString())
Definition: kcoreconfigskeleton.cpp:1199
bool isImmutable() const
Return if the entry can be modified.
Definition: kcoreconfigskeleton.cpp:113
QVariant minValue() const
Get the minimum value that is allowed to be stored in this item.
Definition: kcoreconfigskeleton.cpp:610
bool isEntryImmutable(const QString &key) const
Checks if it is possible to change the given entry.
Definition: kconfiggroup.cpp:632
ItemEnum(const QString &_group, const QString &_key, qint32 &reference, const QList< Choice > &choices, qint32 defaultValue=0)
Constructor.
Definition: kcoreconfigskeleton.cpp:433
ItemPoint(const QString &_group, const QString &_key, QPoint &reference, const QPoint &defaultValue=QPoint())
Constructor.
Definition: kcoreconfigskeleton.cpp:730
KSharedConfig::Ptr mConfig
Definition: kcoreconfigskeleton_p.h:43
void setCurrentGroup(const QString &group)
Set the config file group for subsequent addItem() calls.
Definition: kcoreconfigskeleton.cpp:1008
QList< Choice > choices() const
Definition: kcoreconfigskeleton.cpp:496
KConfigSkeletonItem::List mItems
Definition: kcoreconfigskeleton_p.h:45
bool isEqual(const QVariant &p) const
Check whether the item is equal to p.
Definition: kcoreconfigskeleton.cpp:397
bool isEqual(const QVariant &p) const
Check whether the item is equal to p.
Definition: kcoreconfigskeleton.cpp:850
QVariant minValue() const
Get the minimum value that is allowed to be stored in this item.
Definition: kcoreconfigskeleton.cpp:548
ItemDateTime(const QString &_group, const QString &_key, QDateTime &reference, const QDateTime &defaultValue=QDateTime())
Constructor.
Definition: kcoreconfigskeleton.cpp:794
void writeEntry(const QString &key, const QVariant &value, WriteConfigFlags pFlags=Normal)
Writes a value to the configuration object.
Definition: kconfiggroup.cpp:1037
Class for handling a QDateTime preferences item.
Definition: kcoreconfigskeleton.h:856
ItemBool(const QString &_group, const QString &_key, bool &reference, bool defaultValue=true)
Constructor.
Definition: kcoreconfigskeleton.cpp:279
Class for handling a 64-bit integer preferences item.
Definition: kcoreconfigskeleton.h:565
QString mCurrentGroup
Definition: kcoreconfigskeleton_p.h:41
void writeConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to write the value of this setting to a config file...
Definition: kcoreconfigskeleton.cpp:482
virtual void usrSetDefaults()
Perform the actual setting of default values.
Definition: kcoreconfigskeleton.cpp:1096
virtual QVariant maxValue() const
Return maximum value of item or invalid if not specified.
Definition: kcoreconfigskeleton.cpp:108
QVariant minValue() const
Get the minimum value that is allowed to be stored in this item.
Definition: kcoreconfigskeleton.cpp:345
bool isEqual(const QVariant &p) const
Check whether the item is equal to p.
Definition: kcoreconfigskeleton.cpp:268
qulonglong toULongLong(bool *ok) const
Class for handling a password preferences item.
Definition: kcoreconfigskeleton.h:422
void configChanged()
This signal is emitted when the configuration change.
ItemDateTime * addItemDateTime(const QString &name, QDateTime &reference, const QDateTime &defaultValue=QDateTime(), const QString &key=QString())
Register an item of type QDateTime.
Definition: kcoreconfigskeleton.cpp:1270
ItemUInt * addItemUInt(const QString &name, quint32 &reference, quint32 defaultValue=0, const QString &key=QString())
Register an item of type quint32.
Definition: kcoreconfigskeleton.cpp:1178
bool isNull() const
ItemIntList * addItemIntList(const QString &name, QList< int > &reference, const QList< int > &defaultValue=QList< int >(), const QString &key=QString())
Register an item of type QList.
Definition: kcoreconfigskeleton.cpp:1290
ItemStringList(const QString &_group, const QString &_key, QStringList &reference, const QStringList &defaultValue=QStringList())
Constructor.
Definition: kcoreconfigskeleton.cpp:826
virtual void readConfig(KConfig *)=0
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file...
void setWhatsThis(const QString &w)
Set WhatsThis description of item.
Definition: kcoreconfigskeleton.cpp:93
Class for handling a QVariant preferences item.
Definition: kcoreconfigskeleton.h:475
const char * name() const
ItemUInt(const QString &_group, const QString &_key, quint32 &reference, quint32 defaultValue=0)
Constructor.
Definition: kcoreconfigskeleton.cpp:512
ItemProperty(const QString &_group, const QString &_key, QVariant &reference, const QVariant &defaultValue=0)
Constructor.
Definition: kcoreconfigskeleton.cpp:246
QList< Choice2 > choices2() const
Definition: kcoreconfigskeleton.cpp:506
void append(const T &value)
uint toUInt(bool *ok) const
void writeConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to write the value of this setting to a config file...
Definition: kcoreconfigskeleton.cpp:133
Class for handling a bool preferences item.
Definition: kcoreconfigskeleton.h:496
int toInt(bool *ok) const
ItemInt * addItemInt(const QString &name, qint32 &reference, qint32 defaultValue=0, const QString &key=QString())
Register an item of type qint32.
Definition: kcoreconfigskeleton.cpp:1168
bool isEqual(const QVariant &p) const
Check whether the item is equal to p.
Definition: kcoreconfigskeleton.cpp:783
Class for handling an unsigned 32-bit integer preferences item.
Definition: kcoreconfigskeleton.h:657
void readConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file...
Definition: kcoreconfigskeleton.cpp:737
QVariant maxValue() const
Get the maximum value this is allowed to be stored in this item.
Definition: kcoreconfigskeleton.cpp:414
bool isEqual(const QVariant &p) const
Check whether the item is equal to p.
Definition: kcoreconfigskeleton.cpp:236
Class for handling preferences settings for an application.
Definition: kcoreconfigskeleton.h:366
void setToolTip(const QString &t)
Set ToolTip description of item.
Definition: kcoreconfigskeleton.cpp:83
void readConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file...
Definition: kcoreconfigskeleton.cpp:868
bool isEqual(const QVariant &p) const
Check whether the item is equal to p.
Definition: kcoreconfigskeleton.cpp:600
bool isEmpty() const
ItemUrlList(const QString &_group, const QString &_key, KUrl::List &reference, const KUrl::List &defaultValue=KUrl::List())
Constructor.
Definition: kcoreconfigskeleton.cpp:894
void setLabel(const QString &l)
Set label providing a translated one-line description of the item.
Definition: kcoreconfigskeleton.cpp:73
bool isEqual(const QVariant &p) const
Check whether the item is equal to p.
Definition: kcoreconfigskeleton.cpp:966
bool isEqual(const QVariant &p) const
Check whether the item is equal to p.
Definition: kcoreconfigskeleton.cpp:538
static int registerArea(const QByteArray &areaName, bool enabled=true)
Definition: kdebug.cpp:856
ItemBool * addItemBool(const QString &name, bool &reference, bool defaultValue=false, const QString &key=QString())
Register an item of type bool.
Definition: kcoreconfigskeleton.cpp:1158
ItemPath * addItemPath(const QString &name, QString &reference, const QString &defaultValue=QLatin1String(""), const QString &key=QString())
Register a path item of type QString.
Definition: kcoreconfigskeleton.cpp:1138
KCoreConfigSkeleton(const QString &configname=QString(), QObject *parent=0)
Constructor.
Definition: kcoreconfigskeleton.cpp:978
ItemULongLong * addItemULongLong(const QString &name, quint64 &reference, quint64 defaultValue=0, const QString &key=QString())
Register an item of type quint64.
Definition: kcoreconfigskeleton.cpp:1209
void readConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file...
Definition: kcoreconfigskeleton.cpp:705
bool isEqual(const QVariant &p) const
Check whether the item is equal to p.
Definition: kcoreconfigskeleton.cpp:661
virtual void usrReadConfig()
Perform the actual reading of the configuration file.
Definition: kcoreconfigskeleton.cpp:1100
virtual void usrWriteConfig()
Perform the actual writing of the configuration file.
Definition: kcoreconfigskeleton.cpp:1104
void readConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file...
Definition: kcoreconfigskeleton.cpp:254
void writeConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to write the value of this setting to a config file...
Definition: kcoreconfigskeleton.cpp:209
void readConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file...
Definition: kcoreconfigskeleton.cpp:949
ItemLongLong * addItemLongLong(const QString &name, qint64 &reference, qint64 defaultValue=0, const QString &key=QString())
Register an item of type qint64.
Definition: kcoreconfigskeleton.cpp:1188
Class for handling a QRect preferences item.
Definition: kcoreconfigskeleton.h:784
ItemStringList * addItemStringList(const QString &name, QStringList &reference, const QStringList &defaultValue=QStringList(), const QString &key=QString())
Register an item of type QStringList.
Definition: kcoreconfigskeleton.cpp:1280
QSize toSize() const
void readConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file...
Definition: kcoreconfigskeleton.cpp:769
ItemDouble(const QString &_group, const QString &_key, double &reference, double defaultValue=0)
Constructor.
Definition: kcoreconfigskeleton.cpp:636
const T value(const Key &key) const
ItemPassword(const QString &_group, const QString &_key, QString &reference, const QString &defaultValue=QLatin1String(""))
Constructor.
Definition: kcoreconfigskeleton.cpp:188
ItemUrl(const QString &_group, const QString &_key, KUrl &reference, const KUrl &defaultValue=KUrl())
Constructor.
Definition: kcoreconfigskeleton.cpp:202
ItemRect * addItemRect(const QString &name, QRect &reference, const QRect &defaultValue=QRect(), const QString &key=QString())
Register an item of type QRect.
Definition: kcoreconfigskeleton.cpp:1240
bool isEqual(const QVariant &p) const
Check whether the item is equal to p.
Definition: kcoreconfigskeleton.cpp:178
KConfigSkeletonItem(const QString &_group, const QString &_key)
Constructor.
Definition: kcoreconfigskeleton.cpp:30
Class for handling a 32-bit integer preferences item.
Definition: kcoreconfigskeleton.h:520
bool hasKey(const QString &key) const
Checks whether the key has an entry in this group.
Definition: kconfiggroup.cpp:1155
ItemPoint * addItemPoint(const QString &name, QPoint &reference, const QPoint &defaultValue=QPoint(), const QString &key=QString())
Register an item of type QPoint.
Definition: kcoreconfigskeleton.cpp:1250
void readConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file...
Definition: kcoreconfigskeleton.cpp:801
void setMinValue(quint64)
Set the minimum value for the item.
Definition: kcoreconfigskeleton.cpp:624
ItemULongLong * addItemUInt64(const QString &name, quint64 &reference, quint64 defaultValue=0, const QString &key=QString())
Definition: kcoreconfigskeleton.cpp:1220
void setMinValue(quint32)
Set the minimum value for the item.
Definition: kcoreconfigskeleton.cpp:562
ItemLongLong(const QString &_group, const QString &_key, qint64 &reference, qint64 defaultValue=0)
Constructor.
Definition: kcoreconfigskeleton.cpp:372
KUrl::List is a QList that contains KUrls with a few convenience methods.
Definition: kurl.h:146
Class for handling a QPoint preferences item.
Definition: kcoreconfigskeleton.h:808
void readImmutability(const KConfigGroup &group)
sets mIsImmutable to true if mKey in config is immutable
Definition: kcoreconfigskeleton.cpp:118
void readConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file...
Definition: kcoreconfigskeleton.cpp:833
bool isEqual(const QVariant &p) const
Check whether the item is equal to p.
Definition: kcoreconfigskeleton.cpp:815
QVariant minValue() const
Get the minimum value that is allowed to be stored in this item.
Definition: kcoreconfigskeleton.cpp:671
KConfigSkeletonItem::Dict mItemDict
Definition: kcoreconfigskeleton_p.h:46
QStringList toStringList() const
QVariant maxValue() const
Get the maximum value this is allowed to be stored in this item.
Definition: kcoreconfigskeleton.cpp:617
void setSharedConfig(KSharedConfig::Ptr pConfig)
Set the KSharedConfig object used for reading and writing the settings.
Definition: kcoreconfigskeleton.cpp:1028
Class for handling a QSize preferences item.
Definition: kcoreconfigskeleton.h:832
virtual void setDefaults()
Set all registered items to their default values.
Definition: kcoreconfigskeleton.cpp:1053
void readConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file...
Definition: kcoreconfigskeleton.cpp:643
ItemRect(const QString &_group, const QString &_key, QRect &reference, const QRect &defaultValue=QRect())
Constructor.
Definition: kcoreconfigskeleton.cpp:698
ItemPath(const QString &_group, const QString &_key, QString &reference, const QString &defaultValue=QString())
Constructor.
Definition: kcoreconfigskeleton.cpp:195
ItemDouble * addItemDouble(const QString &name, double &reference, double defaultValue=0.0, const QString &key=QString())
Register an item of type double.
Definition: kcoreconfigskeleton.cpp:1230
void readConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file...
Definition: kcoreconfigskeleton.cpp:379
void reparseConfiguration()
Updates the state of this object to match the persistent storage.
Definition: kconfig.cpp:557
ItemULongLong(const QString &_group, const QString &_key, quint64 &reference, quint64 defaultValue=0)
Constructor.
Definition: kcoreconfigskeleton.cpp:575
void addItem(KConfigSkeletonItem *, const QString &name=QString())
Register a custom KConfigSkeletonItem with a given name.
Definition: kcoreconfigskeleton.cpp:1108
ItemPassword * addItemPassword(const QString &name, QString &reference, const QString &defaultValue=QLatin1String(""), const QString &key=QString())
Register a password item of type QString.
Definition: kcoreconfigskeleton.cpp:1128
typedef ConstIterator
bool isEqual(const QVariant &p) const
Check whether the item is equal to p.
Definition: kcoreconfigskeleton.cpp:299
void setName(const QString &_name)
Set internal name of entry.
Definition: kcoreconfigskeleton.cpp:63
QString whatsThis() const
Return WhatsThis description of item.
Definition: kcoreconfigskeleton.cpp:98
bool isImmutable(const QString &name)
Return whether a certain item is immutable.
Definition: kcoreconfigskeleton.cpp:1300
static int kCoreConfigSkeletionDebugArea()
Definition: kcoreconfigskeleton.cpp:976
ItemString * addItemString(const QString &name, QString &reference, const QString &defaultValue=QLatin1String(""), const QString &key=QString())
Register an item of type QString.
Definition: kcoreconfigskeleton.cpp:1117
bool toBool() const
Definition: kuitsemantics.cpp:84
void readConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file...
Definition: kcoreconfigskeleton.cpp:582
Class for handling a string list preferences item.
Definition: kcoreconfigskeleton.h:881
QPoint toPoint() const
void readConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file...
Definition: kcoreconfigskeleton.cpp:221
double toDouble(bool *ok) const
void readConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file...
Definition: kcoreconfigskeleton.cpp:150
void writeConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to write the value of this setting to a config file...
Definition: kcoreconfigskeleton.cpp:880
void writeConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to write the value of this setting to a config file...
Definition: kcoreconfigskeleton.cpp:913
QRect toRect() const
const_iterator constEnd() const
const_iterator constBegin() const
QObject * parent() const
Class for handling an integer list preferences item.
Definition: kcoreconfigskeleton.h:950
QString obscure(const QString &str)
Obscure string by using a simple symmetric encryption.
Definition: kstringhandler.cpp:190
QString toString() const
QString whatsThis
Definition: kcoreconfigskeleton.h:617
QString currentGroup() const
Returns the current group used for addItem() calls.
Definition: kcoreconfigskeleton.cpp:1013
T readEntry(const QString &key, const T &aDefault) const
Reads the value of an entry specified by pKey in the current group.
Definition: kconfiggroup.h:248
QVariant maxValue() const
Get the maximum value this is allowed to be stored in this item.
Definition: kcoreconfigskeleton.cpp:678
virtual bool usrUseDefaults(bool b)
Implemented by subclasses that use special defaults.
Definition: kcoreconfigskeleton.cpp:1091
void revertToDefault(const QString &key)
Reverts an entry to the default settings.
Definition: kconfiggroup.cpp:1125
void setMaxValue(quint64)
Set the maximum value for the item.
Definition: kcoreconfigskeleton.cpp:630
KConfigSkeletonItem::List items() const
Return list of items managed by this KCoreConfigSkeleton object.
Definition: kcoreconfigskeleton.cpp:1033
void readConfig(KConfig *config)
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file...
Definition: kcoreconfigskeleton.cpp:520
bool isEqual(const QVariant &p) const
Check whether the item is equal to p.
Definition: kcoreconfigskeleton.cpp:719
ItemSize(const QString &_group, const QString &_key, QSize &reference, const QSize &defaultValue=QSize())
Constructor.
Definition: kcoreconfigskeleton.cpp:762
Class for handling a path preferences item.
Definition: kcoreconfigskeleton.h:434
ItemProperty * addItemProperty(const QString &name, QVariant &reference, const QVariant &defaultValue=QVariant(), const QString &key=QString())
Register a property item of type QVariant.
Definition: kcoreconfigskeleton.cpp:1148
virtual QVariant minValue() const
Return minimum value of item or invalid if not specified.
Definition: kcoreconfigskeleton.cpp:103
QString whatsThis
Definition: kcoreconfigskeleton.h:625
QVariant minValue() const
Get the minimum value that is allowed to be stored in this item.
Definition: kcoreconfigskeleton.cpp:407
ItemString(const QString &_group, const QString &_key, QString &reference, const QString &defaultValue=QLatin1String(""), Type type=Normal)
Constructor.
Definition: kcoreconfigskeleton.cpp:124
virtual bool useDefaults(bool b)
Specify whether this object should reflect the actual values or the default values.
Definition: kcoreconfigskeleton.cpp:1038
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.