diff options
author | Frederick Yin <fkfd@fkfd.me> | 2022-04-05 17:18:14 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2022-04-05 17:18:14 +0800 |
commit | 670655326ec305797b2c460b42e7ee53b057082e (patch) | |
tree | 2795d5312f3e95ba48af93f2cb210a7bf0e8e0f1 /contents/config | |
parent | dc920a81f58d745be895817d136b144c1665481b (diff) |
Add basic canvas API request and related config
Diffstat (limited to 'contents/config')
-rw-r--r-- | contents/config/config.qml | 10 | ||||
-rw-r--r-- | contents/config/main.xml | 12 |
2 files changed, 22 insertions, 0 deletions
diff --git a/contents/config/config.qml b/contents/config/config.qml new file mode 100644 index 0000000..39eaa5c --- /dev/null +++ b/contents/config/config.qml @@ -0,0 +1,10 @@ +import QtQuick 2.0 +import org.kde.plasma.configuration 2.0 + +ConfigModel { + ConfigCategory { + name: i18n("General") + icon: "configure" + source: "configGeneral.qml" + } +} diff --git a/contents/config/main.xml b/contents/config/main.xml new file mode 100644 index 0000000..7b86809 --- /dev/null +++ b/contents/config/main.xml @@ -0,0 +1,12 @@ +<?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=""/> + <group name="General"> + <entry name="canvasUrl" type="String"> + <default>https://</default> + </entry> + <entry name="oauth2Token" type="String"> + <default></default> + </entry> + </group> +</kcfg> |