org.kde.koala
public class KRootProp extends Object implements QtSupport
See Also: KConfig
UNKNOWN: Access KDE desktop resources stored on the root window.
| Constructor Summary | |
|---|---|
| protected | KRootProp(Class dummy) |
| KRootProp(String rProp)
Constructs a KRootProp object for the property rProp. | |
| KRootProp() | |
| Method Summary | |
|---|---|
| void | destroy()
Destroys the property completely.
|
| void | dispose() Delete the wrapped C++ instance ahead of finalize() |
| protected void | finalize() Deletes the wrapped C++ instance |
| boolean | isDisposed() Has the wrapped C++ instance been deleted? |
| ArrayList | listEntries()
Returns a list of all keys. |
| String | prop()
Returns the name of the property under which keys are searched. |
| QColor | readColorEntry(String rKey, QColor pDefault)
Reads a QColor.
|
| QColor | readColorEntry(String rKey) |
| String | readEntry(String rKey, String pDefault)
Reads the value of an entry specified by rKey in the current property. |
| String | readEntry(String rKey) |
| QFont | readFontEntry(String rKey, QFont pDefault)
Reads a QFont value.
|
| QFont | readFontEntry(String rKey) |
| int | readNumEntry(String rKey, int nDefault)
Reads a numerical value.
|
| int | readNumEntry(String rKey) |
| String | removeEntry(String rKey)
Removes an entry. |
| void | setProp(String rProp)
Sets the property in which keys will be searched. |
| void | setProp() |
| void | sync()
Flushes the entry cache.
|
| String | writeEntry(String rKey, String rValue)
Writes a (key/value) pair.
|
| String | writeEntry(String rKey, int nValue)
Writes the (key/value) pair.
|
| String | writeEntry(String rKey, QFont rFont)
Writes the (key/value) pair.
|
| String | writeEntry(String rKey, QColor rColor)
Writes the (key/value) pair.
|
rProp.Parameters: rProp the property that will be searched, null to do nothing
See Also: KRootProp
UNKNOWN: Constructs a KRootProp object for the property rProp.
UNKNOWN: Destroys the property completely.
Returns: An ArrayList containing all the keys.
UNKNOWN: Returns a list of all keys.
Returns: the property that will be searched
UNKNOWN: Returns the name of the property under which keys are searched.
rKey in the current property
and interprets it as a color.Parameters: rKey The key to search for. pDefault A default value returned if the key was not found.
Returns: The value for this key or a default color if no value was found.
UNKNOWN: Reads a QColor.
rKey in the current property.Parameters: rKey The key to search for. pDefault A default value returned if the key was not found.
Returns: The value for this key or the default if no value was found.
UNKNOWN: Reads the value of an entry specified by rKey in the current property.
rKey in the current property
and interpret it as a font object.Parameters: rKey The key to search for. pDefault A default value returned if the key was not found.
Returns: The value for this key or a default font if no value was found.
UNKNOWN: Reads a QFont value.
rKey in the current property
and interprets it numerically.Parameters: rKey The key to search for. nDefault A default value returned if the key was not found.
Returns: The value for this key or the default if no value was found.
UNKNOWN: Reads a numerical value.
Parameters: rKey The key to remove.
Returns: The old value for this key. If this key did not exist, a null string is returned.
UNKNOWN: Removes an entry.
Parameters: rProp the property that will be searched
UNKNOWN: Sets the property in which keys will be searched.
UNKNOWN: Flushes the entry cache.
Parameters: rKey The key to write. rValue The value to write.
Returns: The old value for this key. If this key did not exist, a null string is returned.
UNKNOWN: Writes a (key/value) pair.
Parameters: rKey The key to write. nValue The value to write.
Returns: The old value for this key. If this key did not exist, a null string is returned.
UNKNOWN: Writes the (key/value) pair.
Parameters: rKey The key to write. rFont The font to write.
Returns: The old value for this key. If this key did not exist, a null string is returned.
UNKNOWN: Writes the (key/value) pair.
Parameters: rKey The key to write. rColor The color to write.
Returns: The old value for this key. If this key did not exist, a null string is returned.
UNKNOWN: Writes the (key/value) pair.