summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutoUicInterface/klocalizedstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutoUicInterface/klocalizedstring.cpp')
-rw-r--r--Tests/QtAutoUicInterface/klocalizedstring.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/QtAutoUicInterface/klocalizedstring.cpp b/Tests/QtAutoUicInterface/klocalizedstring.cpp
new file mode 100644
index 0000000..f2324bb
--- /dev/null
+++ b/Tests/QtAutoUicInterface/klocalizedstring.cpp
@@ -0,0 +1,12 @@
+
+#include "klocalizedstring.h"
+
+QString tr2xi18n(const char *text, const char *)
+{
+ return QLatin1String("TranslatedX") + QString::fromLatin1(text);
+}
+
+QString tr2i18n(const char *text, const char *)
+{
+ return QLatin1String("Translated") + QString::fromLatin1(text);
+}