X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=bookview.h;h=54c13ad0ed88fbe1ab5d8604e25b66fc7af26dcc;hb=145f1e2a34ad1c0b74f5b51692dc8b38fd0332ec;hp=635363a2de55ee922e996a3be886d59c202fc061;hpb=1b0510dddf070b07a73d893597e9634ed9f6e82f;p=dorian diff --git a/bookview.h b/bookview.h index 635363a..54c13ad 100644 --- a/bookview.h +++ b/bookview.h @@ -58,6 +58,7 @@ protected: void leaveEvent(QEvent *e); void enterEvent(QEvent *e); void timerEvent(QTimerEvent *e); + void keyPressEvent(QKeyEvent *e); private: /** Save navigation icons from resource to the file system. */ @@ -81,6 +82,12 @@ private: /** Show progress. */ void showProgress(); + /** Go to previous page. */ + void goPreviousPage(); + + /** Go to next page. */ + void goNextPage(); + int contentIndex; /**< Current part in book. */ Book *mBook; /**< Book to show. */ bool restorePositionAfterLoad;