void about();
void goToNextPage();
void goToPreviousPage();
+ void onBeginUpgrade(int total);
+ void onUpgrading(const QString &book);
+ void onEndUpgrade();
+ void onBeginLoad(int total);
+ void onLoading(const QString &book);
+ void onEndLoad();
protected:
void closeEvent(QCloseEvent *event);
private:
void setCurrentBook(const QModelIndex ¤t);
- QAction *addToolBarAction(const QObject *receiver, const char *member,
- const QString &name);
BookView *view;
QAction *settingsAction;
QAction *libraryAction;
QAction *fullScreenAction;
QAction *forwardAction;
QAction *backwardAction;
- QAction *previousAction;
- QAction *nextAction;
QAction *chaptersAction;
- QToolBar *toolBar;
QDialog *settings;
DevTools *devTools;
QModelIndex mCurrent;
Progress *progress;
TranslucentButton *previousButton;
TranslucentButton *nextButton;
+ QProgressDialog *libraryProgress;
};
#endif // MAINWINDOW_H