[kdecore Index] [kdecore Hierarchy] [Headers]
KDE Configuration Management class More...
#include <krootprop.h>
KDE desktop resources stored on the root window.
A companion to the KConfig class
The KRootProp class is used for reading and writing configuration entries to properties on the root window.
All configuration entries are of the form "key=value".
See Also: KConfig
[public]
Construct a KRootProp object.
[public]
Destructor.
Writes back any dirty configuration entries.
[public]
Specify the property in which keys will be searched.
[public]
Read the value of an entry specified by rKey in the current property
rKey | The key to search for. |
pDefault | A default value returned if the key was not found. |
[public]
Read a numerical value.
Read the value of an entry specified by rKey in the current property and interpret it numerically.
nDefault | A default value returned if the key was not found. |
rKey | The key to search for. |
[public]
Read a QFont.
Read the value of an entry specified by rKey in the current property and interpret it as a font object.
rKey | The key to search for. |
pDefault | A default value returned if the key was not found. |
[public]
Read a QColor.
Read the value of an entry specified by rKey in the current property and interpret it as a color.
rKey | The key to search for. |
pDefault | A default value returned if the key was not found. |
[public]
writeEntry() overridden to accept a const char * argument.
This is stored to the current property when destroying the config object or when calling Sync().
rKey | The key to write. |
rValue | The value to write. |
[public]
Write the key value pair.Same as above, but write a numerical value.
nValue | The value to write. |
rKey | The key to write. |
[public]
Write the key value pair.Same as above, but write a font
rKey | The key to write. |
rValue | The value to write. |
[public]
Write the key value pair.Same as above, but write a color
rKey | The key to write. |
rValue | The value to write. |
[public]
Flush the entry cache.Write back dirty configuration entries to the current property, This is called automatically from the destructor.
| Kdoc |