#include "ftnoir_protocol_libevdev.h" #include "opentrack/plugin-api.hpp" LibevdevControls::LibevdevControls() { ui.setupUi( this ); connect(ui.btnOK, SIGNAL(clicked()), this, SLOT(doOK())); connect(ui.btnCancel, SIGNAL(clicked()), this, SLOT(doCancel())); } void LibevdevControls::doOK() { save(); this->close(); } void LibevdevControls::doCancel() { this->close(); } void LibevdevControls::save() { }