X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=seascene.h;h=99259fca3de1106b524456dd4609891f4e28759f;hb=515088ed126af576f0d9656de3a3b718a7ade317;hp=09004213c68dad3acde6d0d940a53da2b61e2e50;hpb=65329e998b27b5ccacd2d39c29a4d6b2fa8f2844;p=ghostsoverboard diff --git a/seascene.h b/seascene.h index 0900421..99259fc 100644 --- a/seascene.h +++ b/seascene.h @@ -48,6 +48,7 @@ signals: void vibrationActivated(bool on); void minimizeRequested(); void fullscreenRequested(); + void deviceJustLocked(); public slots: @@ -95,6 +96,8 @@ public slots: void handleDeviceLocked(bool isLocked); + void pollDeviceLocked(); + protected: @@ -150,6 +153,10 @@ protected: QSystemDeviceInfo deviceInfo_; + bool alreadyLocked_; + + QTimer deviceLockPollTimer_; + }; #endif // SEASCENE_H