diff options
author | Aleix Pol <aleixpol@kde.org> | 2015-04-26 01:41:29 +0200 |
---|---|---|
committer | Aleix Pol <aleixpol@kde.org> | 2015-04-26 01:41:29 +0200 |
commit | 97552ff2ecd13eb4398231650e2f719f7a7ba052 (patch) | |
tree | ae9d525c7200cc734f1976bc9fc49f16f954976f /autotests/kconfig_compiler/test13.kcfg | |
parent | 611ab289b16e100f4842906bb956e479d7c4e7a4 (diff) | |
download | kconfig-97552ff2ecd13eb4398231650e2f719f7a7ba052.tar.gz kconfig-97552ff2ecd13eb4398231650e2f719f7a7ba052.tar.bz2 |
Generate Q_PROPERTY entries out of KConfigSkeleton classes
It adds a configuration setting that makes it possible to generate
Q_PROPERTY instances out of each variable exposed by the configuration
class.
Especially useful when it comes to exposing these classes to QtQuick
interfaces.
REVIEW: 123367
CHANGELOG: Generate QML-proof classes using the kconfigcompiler
Diffstat (limited to 'autotests/kconfig_compiler/test13.kcfg')
-rw-r--r-- | autotests/kconfig_compiler/test13.kcfg | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/autotests/kconfig_compiler/test13.kcfg b/autotests/kconfig_compiler/test13.kcfg new file mode 100644 index 00000000..c4d36350 --- /dev/null +++ b/autotests/kconfig_compiler/test13.kcfg @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0 + http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" > + <kcfgfile name="muondatasourcesrc"/> + <group name="kamoso"> + <entry name="picturesDir" type="Url" /> + <entry name="brightness" type="double" /> + </group> +</kcfg> |