examples/sensors/panorama/orientationcontroller.h
author Markku Kaurila <markku.kaurila@nokia.com>
Thu, 30 Sep 2010 11:17:58 +0100
changeset 4 30827624d4d3
parent 0 876b1a06bc25
permissions -rw-r--r--
Further update to the exports in contactsmodel.pro, for Bug 3312

#ifndef ORIENTATIONCONTROLLER_H
#define ORIENTATIONCONTROLLER_H


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


//QTM_USE_NAMESPACE

class OrientationController : public KeyController
{
    Q_OBJECT

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

private slots:
    void update();

private:
    QTM_NAMESPACE::QOrientationSensor m_orientationSensor;

};



#endif // ORIENTATIONCONTROLLER_H