11 class FullScreenWindow;
13 class MainWindow: public QMainWindow
18 MainWindow(QWidget *parent = 0);
19 virtual ~MainWindow() {}
27 void onCurrentBookChanged();
29 void showFullScreen();
30 void onSettingsChanged(const QString &key);
31 void onChapterLoadStart();
32 void onChapterLoadEnd(int index);
34 void onGoToBookmark(int index);
36 void onGoToChapter(int index);
39 virtual void closeEvent(QCloseEvent *event);
42 void setCurrentBook(const QModelIndex ¤t);
43 QAction *addToolBarAction(const QObject *receiver, const char *member,
46 QAction *settingsAction;
47 QAction *libraryAction;
49 QAction *devToolsAction;
50 QAction *bookmarksAction;
51 QAction *fullScreenAction;
52 QAction *forwardAction;
53 QAction *backwardAction;
54 QAction *previousAction;
56 QAction *chaptersAction;
61 FullScreenWindow *fullScreenWindow;
64 #endif // MAINWINDOW_H