From d24f813f3f2a05c112e803e4256b53535895fc98 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Wed, 14 Jul 2021 11:49:10 +1200 Subject: Initial mirror commit --- src/strings.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/strings.h (limited to 'src/strings.h') 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 +#include + +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 -- cgit