- int contentIndex; /**< Current chapter in book. */
- Book *mBook; /**< Book to show. */
- bool restore; /**< Restoring position after load is needed. */
- qreal positionAfterLoad;
- /**< Position to be restored after load. */
- QImage bookmarkImage;
- /**< Bookmark icon pre-loaded. */
- bool loaded; /**< True if content has been loaded. */
- bool mousePressed;
- int contentsHeight; /**< Last know height of the frame. */
- bool decorated; /**< True after adding the arrows to the frame contents. */
+ /** Go to a given (relative) position in current part. */
+ void goToPosition(qreal position);
+
+ /** Show reading progress. */
+ void showProgress();
+
+private:
+ int contentIndex; /**< Current part in book. */
+ Book *mBook; /**< Book to show. */
+ bool restorePositionAfterLoad;
+ /**< If true, restore current position after load. */
+ qreal positionAfterLoad;/**< Position to be restored after load. */
+ bool restoreFragmentAfterLoad;
+ /**< If true, restore fragment location after load. */
+ QString fragmentAfterLoad;
+ /**< Fragment location to be restored after load. */
+ QImage bookmarkImage; /**< Bookmark icon pre-loaded. */
+ bool loaded; /**< True, if content has been loaded. */
+ bool mousePressed; /**< Event filter's mouse button state. */
+ bool grabbingVolumeKeys;/**< True, if volume keys should be grabbed. */
+
+#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;
+#endif
+
+#if defined(Q_OS_SYMBIAN)
+ FlickCharm *charm; /**< Kinetic scroller. */
+#endif