#include <tdeconfigskeleton.h>

Public Member Functions | |
ItemInt (const TQString &group, const TQString &key, int &reference, int defaultValue=0) | |
void | readConfig (TDEConfig *config) |
void | setProperty (const TQVariant &p) |
TQVariant | property () const |
TQVariant | minValue () const |
TQVariant | maxValue () const |
void | setMinValue (int) |
void | setMaxValue (int) |
Detailed Description
Class for handling an integer preferences item.
Definition at line 447 of file tdeconfigskeleton.h.
Constructor & Destructor Documentation
◆ ItemInt()
TDEConfigSkeleton::ItemInt::ItemInt | ( | const TQString & | group, |
const TQString & | key, | ||
int & | reference, | ||
int | defaultValue = 0 |
||
) |
Definition at line 168 of file tdeconfigskeleton.cpp.
Member Function Documentation
◆ maxValue()
|
virtual |
Return maximum value of item or invalid if not specified.
Reimplemented from TDEConfigSkeletonItem.
Definition at line 205 of file tdeconfigskeleton.cpp.
◆ minValue()
|
virtual |
Return minimum value of item or invalid if not specified.
Reimplemented from TDEConfigSkeletonItem.
Definition at line 198 of file tdeconfigskeleton.cpp.
◆ property()
|
virtual |
Return item as property.
Implements TDEConfigSkeletonItem.
Definition at line 193 of file tdeconfigskeleton.cpp.
◆ readConfig()
|
virtual |
This function is called by TDEConfigSkeleton to read the value for this setting from a config file.
value.
Implements TDEConfigSkeletonItem.
Reimplemented in TDEConfigSkeleton::ItemEnum.
Definition at line 175 of file tdeconfigskeleton.cpp.
◆ setMaxValue()
void TDEConfigSkeleton::ItemInt::setMaxValue | ( | int | v | ) |
Definition at line 218 of file tdeconfigskeleton.cpp.
◆ setMinValue()
void TDEConfigSkeleton::ItemInt::setMinValue | ( | int | v | ) |
Definition at line 212 of file tdeconfigskeleton.cpp.
◆ setProperty()
|
virtual |
Set item to p
.
Implements TDEConfigSkeletonItem.
Definition at line 188 of file tdeconfigskeleton.cpp.
The documentation for this class was generated from the following files: