6 #include "bookwindow.h"
13 class FullScreenWindow;
16 class MainWindow: public BookWindow
21 MainWindow(QWidget *parent = 0);
30 void onCurrentBookChanged();
33 void onSettingsChanged(const QString &key);
34 void onPartLoadStart();
35 void onPartLoadEnd(int index);
37 void onGoToBookmark(int index);
39 void onGoToChapter(int index);
43 void closeEvent(QCloseEvent *event);
44 void timerEvent(QTimerEvent *event);
45 void resizeEvent(QResizeEvent *event);
48 void setCurrentBook(const QModelIndex ¤t);
49 QAction *addToolBarAction(const QObject *receiver, const char *member,
52 QAction *settingsAction;
53 QAction *libraryAction;
55 QAction *devToolsAction;
56 QAction *bookmarksAction;
57 QAction *fullScreenAction;
58 QAction *forwardAction;
59 QAction *backwardAction;
60 QAction *previousAction;
62 QAction *chaptersAction;
67 FullScreenWindow *fullScreenWindow;
68 int preventBlankingTimer;
72 #endif // MAINWINDOW_H