summaryrefslogtreecommitdiff
path: root/Tests/QtAutogen/UicInterface/klocalizedstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen/UicInterface/klocalizedstring.cpp')
-rw-r--r--Tests/QtAutogen/UicInterface/klocalizedstring.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/QtAutogen/UicInterface/klocalizedstring.cpp b/Tests/QtAutogen/UicInterface/klocalizedstring.cpp
new file mode 100644
index 000000000..b629cd176
--- /dev/null
+++ b/Tests/QtAutogen/UicInterface/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);
+}