summaryrefslogtreecommitdiffstats
path: root/src/namereplace.h
diff options
context:
space:
mode:
authorSimon Rettberg2018-02-08 12:02:00 +0100
committerSimon Rettberg2018-02-08 12:02:00 +0100
commit7688ba080c0c69508847fca9aa36dc392ddbb766 (patch)
treef39315ec70374d2cca6b0929049345c7b113d8d0 /src/namereplace.h
parentUpdate readme (diff)
downloadslxgreeter-7688ba080c0c69508847fca9aa36dc392ddbb766.tar.gz
slxgreeter-7688ba080c0c69508847fca9aa36dc392ddbb766.tar.xz
slxgreeter-7688ba080c0c69508847fca9aa36dc392ddbb766.zip
Support regex mangling of username before passing to lightdm
Diffstat (limited to 'src/namereplace.h')
-rw-r--r--src/namereplace.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/namereplace.h b/src/namereplace.h
new file mode 100644
index 0000000..2b8e802
--- /dev/null
+++ b/src/namereplace.h
@@ -0,0 +1,13 @@
+#ifndef NAMEREPLACE_H
+#define NAMEREPLACE_H
+
+#include <QString>
+
+class NameReplace
+{
+public:
+ static void loadSubs();
+ static void replace(QString& input);
+};
+
+#endif