Make orientation switch explicit on Symbian, too.
[dorian] / bookview.h
index 8465f3c..daf605b 100644 (file)
@@ -41,7 +41,7 @@ public:
     void addBookmark(const QString &note);
 
     /** Save current reading position into book. */
-    void setLastBookmark();
+    void setLastBookmark(bool fast = false);
 
     /** Go to given part + part fragment URL. */
     void goToPart(int part, const QString &fragment);
@@ -59,9 +59,6 @@ signals:
     /** Part loading finished. */
     void partLoadEnd(int index);
 
-    /** Signal button press, when the real event has been suppressed. */
-    void suppressedMouseButtonPress();
-
     /** Signal progress in reading the book. */
     void progress(qreal p);
 
@@ -105,9 +102,6 @@ protected:
     void wheelEvent(QWheelEvent *);
     bool eventFilter(QObject *o, QEvent *e);
     void timerEvent(QTimerEvent *e);
-#ifdef Q_WS_MAEMO_5
-    void leaveEvent(QEvent *e);
-#endif // Q_WS_MAEMO_5
 
     /** Load given part. */
     void loadContent(int index);
@@ -121,6 +115,7 @@ protected:
     /** Show reading progress. */
     void showProgress();
 
+private:
     int contentIndex;       /**< Current part in book. */
     Book *mBook;            /**< Book to show. */
     bool restorePositionAfterLoad;
@@ -138,10 +133,13 @@ protected:
 #if defined(Q_WS_MAEMO_5) || defined(Q_OS_SYMBIAN)
     int scrollerMonitor;    /**< ID of timer monitoring kinetic scroll. */
 #endif
+
 #if defined(Q_WS_MAEMO_5)
     QAbstractKineticScroller *scroller;
-#elif defined(Q_OS_SYMBIAN)
-    FlickCharm *charm;
+#endif
+
+#if defined(Q_OS_SYMBIAN)
+    FlickCharm *charm;      /**< Kinetic scroller. */
 #endif
 };