diff src/constants.h @ 76:1e6e7699f0b8

Add replacements.ini to configure text replacements
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 05 Oct 2016 14:23:23 +0200
parents d545e5cb2b72
children 9412d60c8ac1
line wrap: on
line diff
--- a/src/constants.h	Tue Oct 04 17:12:28 2016 +0200
+++ b/src/constants.h	Wed Oct 05 14:23:23 2016 +0200
@@ -75,15 +75,6 @@
  * @brief The pattern used to match a free text answer. */
 #define FREETXT_PATTERN "\"([^\"]*)\"?", QRegularExpression::MultilineOption
 
-/**
- * @brief the pattern to unsecape images. */
-#define IMAGE_PATTERN "##(.*)##", QRegularExpression::MultilineOption
-
-
-/**
- * @brief the pattern to unsecape latex. */
-#define LATEX_PATTERN "\\$\\$(.*)\\$\\$", QRegularExpression::MultilineOption
-
 #define TITLE_ROW_HEIGHT 30
 
 #define CHOICE_ROW_HEIGHT 30
@@ -114,5 +105,7 @@
 
 #define PRETTY_NAME "EduExportConverter"
 
+#define CONFIG_FILE_NAME "replacements.ini"
+
 
 #endif // CONSTANTS_H
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)