diff options
Diffstat (limited to 'proto-mouse/ftnoir_protocol_mouse.h')
-rw-r--r-- | proto-mouse/ftnoir_protocol_mouse.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/proto-mouse/ftnoir_protocol_mouse.h b/proto-mouse/ftnoir_protocol_mouse.h index 55b26fe5..22e78b69 100644 --- a/proto-mouse/ftnoir_protocol_mouse.h +++ b/proto-mouse/ftnoir_protocol_mouse.h @@ -10,13 +10,16 @@ #include "ui_ftnoir_mousecontrols.h" #include "mouse-settings.hpp" +#include "compat/tr.hpp" #include <QDebug> #include "api/plugin-api.hpp" using namespace options; -class mouse : public IProtocol +class mouse : public TR, public IProtocol { + Q_OBJECT + public: mouse(); module_status initialize() override { return status_ok(); } @@ -48,7 +51,8 @@ private slots: class mouseDll : public Metadata { -public: - QString name() { return otr_tr("mouse emulation"); } + Q_OBJECT + + QString name() { return tr("mouse emulation"); } QIcon icon() { return QIcon(":/images/mouse.png"); } }; |