aboutsummaryrefslogtreecommitdiff
path: root/src/documentstyle.hpp
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-28 16:30:52 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-28 16:30:52 +0200
commit6edd9e7a12a3827fb6aac62a88be01085e41e176 (patch)
tree4513475c7efaea92a154ff20e970ed3d4b475b7c /src/documentstyle.hpp
parenta53e490d2e96d22a24293019921af26e00f2bf7a (diff)
downloadkristall-6edd9e7a12a3827fb6aac62a88be01085e41e176.tar.gz
Huge refacoring of the settings stuff. Provides automated migration between old and new configuration file stuff. Themes are now just files in a folder instead of encoded data in the config file.
Diffstat (limited to 'src/documentstyle.hpp')
-rw-r--r--src/documentstyle.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/documentstyle.hpp b/src/documentstyle.hpp
index 6692cfd..eb01912 100644
--- a/src/documentstyle.hpp
+++ b/src/documentstyle.hpp
@@ -16,6 +16,9 @@ struct DocumentStyle
DocumentStyle();
+ //! Calculates a filtered/legal file name with all non-allowed chars escaped
+ static QString createFileNameFromName(QString const & src, int index);
+
Theme theme;
QFont standard_font;