]> git.lyx.org Git - lyx.git/blobdiff - src/support/qstring_helpers.h
Refactor
[lyx.git] / src / support / qstring_helpers.h
index d5f2921af7a8ac617be2739664e8de71e8c06bb8..a3fafb43439a5742bfa0bb6daede9117b391a5e0 100644 (file)
@@ -18,6 +18,10 @@ class QString;
 
 namespace lyx {
 
+class LyXErr;
+
+LyXErr & operator<<(LyXErr &, QString const &);
+
 /**
  * toqstr - convert a UTF8 encoded char * into a QString
  *
@@ -76,6 +80,11 @@ docstring qstring_to_ucs4(QString const & qstr);
  */
 std::string fromqstr(QString const & str);
 
+/**
+ * constructs a regex to filter on consecutive characters
+ */
+QString charFilterRegExp(QString const & filter);
+
 } // namespace lyx
 
 #endif // QSTRING_HELPERS_H