]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/settings/Settings.kcfg
Add controls for local storage. https://redmine.stoutner.com/issues/830
[PrivacyBrowserPC.git] / src / settings / Settings.kcfg
diff --git a/src/settings/Settings.kcfg b/src/settings/Settings.kcfg
new file mode 100644 (file)
index 0000000..c5435fa
--- /dev/null
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  Copyright © 2022 Soren Stoutner <soren@stoutner.com>.
+
+  This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-android>.
+
+  Privacy Browser PC is free software: you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
+
+  Privacy Browser PC is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with Privacy Browser PC.  If not, see <http://www.gnu.org/licenses/>. -->
+
+<!-- The options are partially documented at <https://api.kde.org/frameworks/kconfig/html/classKConfigSkeleton.html>. -->
+<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" >
+
+    <!-- This is the name of the file located in `~/.config/` where the settings are stored. -->
+    <kcfgfile name="privacybrowser"/>
+
+    <group name="Privacy">
+        <entry name="javaScript" type="Bool">
+            <default>false</default>
+        </entry>
+
+        <entry name="localStorage" type="Bool">
+            <default>false</default>
+        </entry>
+
+        <entry name="userAgent" type="String">
+            <default>Privacy Browser</default>
+        </entry>
+    </group>
+
+    <group name="General">
+        <entry name="homepage" type="String">
+            <default>https://www.mojeek.com/</default>
+        </entry>
+
+        <entry name="searchEngine" type="String">
+            <default>Mojeek</default>
+        </entry>
+
+        <entry name="zoomFactor" type="Double">
+            <default>1.00</default>
+        </entry>
+    </group>
+</kcfg>