X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=mainwindow.h;h=dc75edfd9c9cd1551cf63bd597f7bce8548dda28;hb=269de3cf8d569428c4a99b7997d5162bba9b4e0c;hp=1f1557d676fda4f28bdf60ba0b3a29bfa832d3a4;hpb=b9913327f93839a8108622ded8595ed4f9762ad8;p=dorian diff --git a/mainwindow.h b/mainwindow.h index 1f1557d..dc75edf 100755 --- a/mainwindow.h +++ b/mainwindow.h @@ -2,7 +2,8 @@ #define MAINWINDOW_H #include -#include "bookfinder.h" + +#include "adopterwindow.h" class QString; class QModelIndex; @@ -11,8 +12,9 @@ class BookView; class Book; class FullScreenWindow; class Progress; +class TranslucentButton; -class MainWindow: public QMainWindow +class MainWindow: public AdopterWindow { Q_OBJECT @@ -36,6 +38,9 @@ public slots: void onGoToBookmark(int index); void showChapters(); void onGoToChapter(int index); + void about(); + void goToNextPage(); + void goToPreviousPage(); protected: void closeEvent(QCloseEvent *event); @@ -44,8 +49,6 @@ protected: private: void setCurrentBook(const QModelIndex ¤t); - QAction *addToolBarAction(const QObject *receiver, const char *member, - const QString &name); BookView *view; QAction *settingsAction; QAction *libraryAction; @@ -55,18 +58,15 @@ private: QAction *fullScreenAction; QAction *forwardAction; QAction *backwardAction; - QAction *previousAction; - QAction *nextAction; QAction *chaptersAction; - QToolBar *toolBar; QDialog *settings; DevTools *devTools; QModelIndex mCurrent; FullScreenWindow *fullScreenWindow; int preventBlankingTimer; - BookFinder *bookFinder; - BookFinderThread bookFinderThread; Progress *progress; + TranslucentButton *previousButton; + TranslucentButton *nextButton; }; #endif // MAINWINDOW_H