tools/qml/deviceorientation.cpp
changeset 37 758a864f9613
parent 30 5dc02b23752f
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
    51 
    51 
    52     Orientation orientation() const {
    52     Orientation orientation() const {
    53         return m_orientation;
    53         return m_orientation;
    54     }
    54     }
    55 
    55 
       
    56     void pauseListening() {
       
    57     }
       
    58     void resumeListening() {
       
    59     }
       
    60 
    56     void setOrientation(Orientation o) {
    61     void setOrientation(Orientation o) {
    57         if (o != m_orientation) {
    62         if (o != m_orientation) {
    58             m_orientation = o;
    63             m_orientation = o;
    59             emit orientationChanged();
    64             emit orientationChanged();
    60         }
    65         }