X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=mainwindow.h;h=6e70740b65fac9048549f0b4c7979efe710c3831;hb=21d55858dc41a30ba77381fe62a7bef0d3e956f7;hp=b2849190a232020970653c52c37180b3599e247c;hpb=c08d16295fa01005d89c49ed444c650b5d0e4205;p=dorian diff --git a/mainwindow.h b/mainwindow.h index b284919..6e70740 100755 --- a/mainwindow.h +++ b/mainwindow.h @@ -2,6 +2,7 @@ #define MAINWINDOW_H #include +#include #include "adopterwindow.h" @@ -21,7 +22,7 @@ class MainWindow: public AdopterWindow public: MainWindow(QWidget *parent = 0); - ~MainWindow(); + void initialize(); public slots: void showLibrary(); @@ -52,7 +53,6 @@ public slots: protected: void closeEvent(QCloseEvent *event); void timerEvent(QTimerEvent *event); - void resizeEvent(QResizeEvent *event); private: void setCurrentBook(const QModelIndex ¤t); @@ -71,9 +71,9 @@ private: QModelIndex mCurrent; FullScreenWindow *fullScreenWindow; int preventBlankingTimer; - Progress *progress; - TranslucentButton *previousButton; - TranslucentButton *nextButton; + Progress *prog; + TranslucentButton *prev; + TranslucentButton *next; ProgressDialog *libraryProgress; };