Update splash pixmap.
[dorian] / mainwindow.h
index b284919..6e70740 100755 (executable)
@@ -2,6 +2,7 @@
 #define MAINWINDOW_H
 
 #include <QModelIndex>
+#include <QEvent>
 
 #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 &current);
@@ -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;
 };