diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-04-05 03:23:38 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-04-05 03:23:52 +0200 |
commit | c0165f8b48852a1aca782d606ba4f1ea48eee6ba (patch) | |
tree | 433441689808ca741889b078407bc49fade746de /tracker-tobii-eyex | |
parent | eb32a2ac02c6d1adcfeb0a1a5522f8aaea442489 (diff) |
modules: now use i18n
Diffstat (limited to 'tracker-tobii-eyex')
-rw-r--r-- | tracker-tobii-eyex/tobii-eyex.cpp | 2 | ||||
-rw-r--r-- | tracker-tobii-eyex/tobii-eyex.hpp | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/tracker-tobii-eyex/tobii-eyex.cpp b/tracker-tobii-eyex/tobii-eyex.cpp index a559c8dd..8f2edd62 100644 --- a/tracker-tobii-eyex/tobii-eyex.cpp +++ b/tracker-tobii-eyex/tobii-eyex.cpp @@ -229,7 +229,7 @@ module_status tobii_eyex_tracker::start_tracker(QFrame*) status &= txEnableConnection(dev_ctx) == TX_RESULT_OK; if (!status) - return error(otr_tr("Connection can't be established. device missing?")); + return error(tr("Connection can't be established. device missing?")); else return status_ok(); } diff --git a/tracker-tobii-eyex/tobii-eyex.hpp b/tracker-tobii-eyex/tobii-eyex.hpp index 170e74c1..84407930 100644 --- a/tracker-tobii-eyex/tobii-eyex.hpp +++ b/tracker-tobii-eyex/tobii-eyex.hpp @@ -23,8 +23,10 @@ using namespace options; #include <QObject> #include <QMutex> -class tobii_eyex_tracker : public ITracker +class tobii_eyex_tracker : public TR, public ITracker { + Q_OBJECT + public: tobii_eyex_tracker(); ~tobii_eyex_tracker() override; @@ -80,7 +82,8 @@ private: class tobii_eyex_metadata : public Metadata { -public: + Q_OBJECT + QString name() { return QString("Tobii EyeX"); } QIcon icon() { return QIcon(":/images/tobii-eyex-logo.png"); } }; |