examples/sensors/panoramaWithSense/orientationcontroller.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 04 Oct 2010 01:37:06 +0300
changeset 5 603d3f8b6302
permissions -rw-r--r--
Revision: 201037 Kit: 201039

#ifndef ORIENTATIONCONTROLLER_H
#define ORIENTATIONCONTROLLER_H


#include "keycontroller.h"
#include <qorientationsensor.h>


//QTM_USE_NAMESPACE

class OrientationController : public KeyController
{
    Q_OBJECT

public:
    OrientationController();
    virtual ~OrientationController();
    virtual void updateCoordinates();

public slots:
    virtual void doStart();
    virtual void doStop();

private slots:
    void update();

private:
    QTM_NAMESPACE::QOrientationSensor m_orientationSensor;

};



#endif // ORIENTATIONCONTROLLER_H