summaryrefslogtreecommitdiff
path: root/src/strings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings.h')
-rw-r--r--src/strings.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/strings.h b/src/strings.h
new file mode 100644
index 0000000..bd7925a
--- /dev/null
+++ b/src/strings.h
@@ -0,0 +1,22 @@
+#ifndef STRINGS_H
+#define STRINGS_H
+
+#include <QObject>
+#include <QString>
+
+class Strings: public QObject
+{
+ Q_OBJECT
+
+public:
+ static const char* s_build;
+ static const char* s_author;
+ static const char* s_appTitle;
+ static const char* s_error;
+
+public:
+ static QString errorTitle() { return tr(s_appTitle) + " - " + tr(s_error); }
+
+};
+
+#endif