KDEUI
kconfiggroupgui.cpp File Reference
#include <kconfiggroup.h>
#include <QtCore/QMutableStringListIterator>
#include <QtGui/QColor>
#include <QtGui/QFont>
#include <kconfiggroup_p.h>
#include <kdebug.h>
Go to the source code of this file.
Functions | |
static int | initKConfigGroupGui () |
static bool | readEntryGui (const QByteArray &data, const char *key, const QVariant &input, QVariant &output) |
static bool | writeEntryGui (KConfigGroup *cg, const char *key, const QVariant &prop, KConfigGroup::WriteConfigFlags pFlags) |
Variables | |
static int | dummyKConfigGroupGui = initKConfigGroupGui() |
Function Documentation
static int initKConfigGroupGui | ( | ) | [static] |
Definition at line 180 of file kconfiggroupgui.cpp.
static bool readEntryGui | ( | const QByteArray & | data, | |
const char * | key, | |||
const QVariant & | input, | |||
QVariant & | output | |||
) | [static] |
Try to read a GUI type from config group cg
at key key
.
input
is the default value and also indicates the type to be read. output
is to be set with the value that has been read.
- Returns:
- true if something was handled (even if output was set to clear or default) or false if nothing was handled (e.g., Core type)
Definition at line 38 of file kconfiggroupgui.cpp.
static bool writeEntryGui | ( | KConfigGroup * | cg, | |
const char * | key, | |||
const QVariant & | prop, | |||
KConfigGroup::WriteConfigFlags | pFlags | |||
) | [static] |
Try to write a GUI type prop
to config group cg
at key key
.
- Returns:
- true if something was handled (even if an empty value was written) or false if nothing was handled (e.g., Core type)
Definition at line 134 of file kconfiggroupgui.cpp.
Variable Documentation
int dummyKConfigGroupGui = initKConfigGroupGui() [static] |
Definition at line 190 of file kconfiggroupgui.cpp.