#include <QtGui>
class QString;
+class QModelIndex;
class DevTools;
class BookView;
class Book;
void showNormal();
void showFullScreen();
void onSettingsChanged(const QString &key);
- void onChapterLoaded(int index);
+ void onChapterLoadStart();
+ void onChapterLoadEnd(int index);
protected:
#ifdef Q_WS_MAEMO5
virtual void closeEvent(QCloseEvent *event);
private:
- void setCurrentBook(Book *book);
+ void setCurrentBook(const QModelIndex ¤t);
QAction *addToolBarAction(const QObject *receiver, const char *member,
const QString &name);
QRect fullScreenZone() const;
QToolBar *toolBar;
QDialog *settings;
DevTools *devTools;
- Book *book;
+ QModelIndex mCurrent;
Qt::WindowFlags normalFlags;
TranslucentButton *restoreButton;
bool isFullscreen;