aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/test_qdebugcategory.kcfg
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2015-03-09 21:55:24 +0100
committerMontel Laurent <montel@kde.org>2015-03-17 07:30:46 +0100
commit094c91f86baf1e82e55b435c07c5ba37ff107dd9 (patch)
treea69172e9f391f2af5114f17b1d091201b3488457 /autotests/kconfig_compiler/test_qdebugcategory.kcfg
parent270b5ef5abd5b0db5670ffb4473a161e0553e396 (diff)
downloadkconfig-094c91f86baf1e82e55b435c07c5ba37ff107dd9.tar.gz
kconfig-094c91f86baf1e82e55b435c07c5ba37ff107dd9.tar.bz2
Allow to generate qloggingcategories support.
Add new variable to specify it in *.kcfgc : "CategoryLoggingName" CHANGELOG: Allow to generate file with qloggingcategories support. REVIEW: 122931
Diffstat (limited to 'autotests/kconfig_compiler/test_qdebugcategory.kcfg')
-rw-r--r--autotests/kconfig_compiler/test_qdebugcategory.kcfg25
1 files changed, 25 insertions, 0 deletions
diff --git a/autotests/kconfig_compiler/test_qdebugcategory.kcfg b/autotests/kconfig_compiler/test_qdebugcategory.kcfg
new file mode 100644
index 00000000..2f54f608
--- /dev/null
+++ b/autotests/kconfig_compiler/test_qdebugcategory.kcfg
@@ -0,0 +1,25 @@
+<?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="test7rc">
+ <parameter name="Number" type="Int"/>
+ </kcfgfile>
+
+ <group name="Foo">
+ <entry name="Color" type="Color" key="color #$(Number)">
+ <label>Block colors.</label>
+ <default>red</default>
+ </entry>
+ </group>
+ <group name="Bar$(Number)">
+ <entry name="FooBar" key="foo bar" type="String"/>
+ <entry name="Age" type="Int">
+ <default>35</default>
+ <min>8</min>
+ <max>88</max>
+ </entry>
+ </group>
+
+</kcfg>