projects
/
dorian
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix forward navigation control on Linux.
[dorian]
/
mainwindow.h
diff --git
a/mainwindow.h
b/mainwindow.h
index
b284919
..
c33f33b
100755
(executable)
--- a/
mainwindow.h
+++ b/
mainwindow.h
@@
-2,6
+2,7
@@
#define MAINWINDOW_H
#include <QModelIndex>
#define MAINWINDOW_H
#include <QModelIndex>
+#include <QEvent>
#include "adopterwindow.h"
#include "adopterwindow.h"
@@
-22,10
+23,11
@@
class MainWindow: public AdopterWindow
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
+ void initialize();
public slots:
void showLibrary();
public slots:
void showLibrary();
- void showInfo();
+ void rotate();
void showSettings();
void showDevTools();
void showBookmarks();
void showSettings();
void showDevTools();
void showBookmarks();
@@
-50,16
+52,14
@@
public slots:
void onEndLoad();
protected:
void onEndLoad();
protected:
- void closeEvent(QCloseEvent *event);
void timerEvent(QTimerEvent *event);
void timerEvent(QTimerEvent *event);
- void resizeEvent(QResizeEvent *event);
private:
void setCurrentBook(const QModelIndex ¤t);
BookView *view;
QAction *settingsAction;
QAction *libraryAction;
private:
void setCurrentBook(const QModelIndex ¤t);
BookView *view;
QAction *settingsAction;
QAction *libraryAction;
- QAction *infoAction;
+ QAction *rotateAction;
QAction *devToolsAction;
QAction *bookmarksAction;
QAction *fullScreenAction;
QAction *devToolsAction;
QAction *bookmarksAction;
QAction *fullScreenAction;
@@
-71,9
+71,9
@@
private:
QModelIndex mCurrent;
FullScreenWindow *fullScreenWindow;
int preventBlankingTimer;
QModelIndex mCurrent;
FullScreenWindow *fullScreenWindow;
int preventBlankingTimer;
- Progress *progress;
- TranslucentButton *previousButton;
- TranslucentButton *nextButton;
+ Progress *prog;
+ TranslucentButton *prev;
+ TranslucentButton *next;
ProgressDialog *libraryProgress;
};
ProgressDialog *libraryProgress;
};