summaryrefslogtreecommitdiffstats
path: root/chicken-wranglers/examples/control/testcontrol.h
blob: 041abb987bdf3712fc7c9ab799caf6a579b36fb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef TESTCONTROL_H
#define TESTCONTROL_H

#include "global.h"

#include <QDebug>
#include <QObject>

class TestControl : public QObject
{
    Q_OBJECT

public:
    TestControl(QObject *parent = 0) : QObject(parent) {}

public slots:
    void onDirectionChanged(Global::Direction direction)
    {
        qDebug() << "Direction changed:" << Global::directionString(direction);
    }
};

#endif