summaryrefslogtreecommitdiffhomepage
path: root/proto-ft/ftnoir_protocol_ft.h
diff options
context:
space:
mode:
Diffstat (limited to 'proto-ft/ftnoir_protocol_ft.h')
-rw-r--r--proto-ft/ftnoir_protocol_ft.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.h b/proto-ft/ftnoir_protocol_ft.h
index 843d1f34..18a5596f 100644
--- a/proto-ft/ftnoir_protocol_ft.h
+++ b/proto-ft/ftnoir_protocol_ft.h
@@ -13,6 +13,7 @@
#include "freetrackclient/fttypes.h"
#include "compat/shm.h"
+#include "compat/tr.hpp"
#include "options/options.hpp"
#include "api/plugin-api.hpp"
@@ -33,8 +34,10 @@ struct settings : opts {
{}
};
-class freetrack : public IProtocol
+class freetrack : public TR, public IProtocol
{
+ Q_OBJECT
+
public:
freetrack();
~freetrack() override;
@@ -81,7 +84,8 @@ private slots:
class freetrackDll : public Metadata
{
-public:
- QString name() { return otr_tr("freetrack 2.0 Enhanced"); }
+ Q_OBJECT
+
+ QString name() { return tr("freetrack 2.0 Enhanced"); }
QIcon icon() { return QIcon(":/images/freetrack.png"); }
};