summaryrefslogtreecommitdiff
path: root/metawatch/metawatchsimulatorform.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-13 21:31:52 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-13 21:31:52 +0200
commitabdf3b1eaba8151f1b8e862750c38cb7a5411d2a (patch)
tree69e314d80a332295dd5475fc91f45c2078eaead5 /metawatch/metawatchsimulatorform.cpp
parent51701e30d710ad016ddf2d306cdd7be122ddf25b (diff)
downloadsowatch-abdf3b1eaba8151f1b8e862750c38cb7a5411d2a.tar.gz
sowatch-abdf3b1eaba8151f1b8e862750c38cb7a5411d2a.zip
make watchsimulator work again
Diffstat (limited to 'metawatch/metawatchsimulatorform.cpp')
-rw-r--r--metawatch/metawatchsimulatorform.cpp82
1 files changed, 0 insertions, 82 deletions
diff --git a/metawatch/metawatchsimulatorform.cpp b/metawatch/metawatchsimulatorform.cpp
deleted file mode 100644
index f2323bd..0000000
--- a/metawatch/metawatchsimulatorform.cpp
+++ /dev/null
@@ -1,82 +0,0 @@
-#include "metawatchsimulatorform.h"
-#include "ui_metawatchsimulatorform.h"
-
-using namespace sowatch;
-
-MetaWatchSimulatorForm::MetaWatchSimulatorForm(QWidget* parent) :
- QWidget(parent),
- ui(new Ui::MetaWatchSimulatorForm)
-{
- ui->setupUi(this);
-}
-
-MetaWatchSimulatorForm::~MetaWatchSimulatorForm()
-{
- delete ui;
-}
-
-void MetaWatchSimulatorForm::refreshScreen(const QPixmap& pixmap)
-{
- ui->lblDisplay->setPixmap(pixmap);
- ui->lblDisplay->update();
-}
-
-void MetaWatchSimulatorForm::btnAPressed()
-{
- emit buttonPressed(0);
-}
-
-void MetaWatchSimulatorForm::btnAReleased()
-{
- emit buttonReleased(0);
-}
-
-void MetaWatchSimulatorForm::btnBPressed()
-{
- emit buttonPressed(1);
-}
-
-void MetaWatchSimulatorForm::btnBReleased()
-{
- emit buttonReleased(1);
-}
-
-void MetaWatchSimulatorForm::btnCPressed()
-{
- emit buttonPressed(2);
-}
-
-void MetaWatchSimulatorForm::btnCReleased()
-{
- emit buttonReleased(2);
-}
-
-void MetaWatchSimulatorForm::btnDPressed()
-{
- emit buttonPressed(3);
-}
-
-void MetaWatchSimulatorForm::btnDReleased()
-{
- emit buttonReleased(3);
-}
-
-void MetaWatchSimulatorForm::btnEPressed()
-{
- emit buttonPressed(4);
-}
-
-void MetaWatchSimulatorForm::btnEReleased()
-{
- emit buttonReleased(4);
-}
-
-void MetaWatchSimulatorForm::btnFPressed()
-{
- emit buttonPressed(5);
-}
-
-void MetaWatchSimulatorForm::btnFReleased()
-{
- emit buttonReleased(5);
-}