#ifndef MAINWINDOW_H
#define MAINWINDOW_H
-#include <QtGui>
+#include <QModelIndex>
+#include <QEvent>
#include "adopterwindow.h"
public:
MainWindow(QWidget *parent = 0);
- ~MainWindow();
+ void initialize();
public slots:
void showLibrary();
void onEndLoad();
protected:
- void closeEvent(QCloseEvent *event);
void timerEvent(QTimerEvent *event);
- void resizeEvent(QResizeEvent *event);
private:
void setCurrentBook(const QModelIndex ¤t);
QModelIndex mCurrent;
FullScreenWindow *fullScreenWindow;
int preventBlankingTimer;
- Progress *progress;
- TranslucentButton *previousButton;
- TranslucentButton *nextButton;
+ Progress *prog;
+ TranslucentButton *prev;
+ TranslucentButton *next;
ProgressDialog *libraryProgress;
};