Add tool bar button to change orientation.
[dorian] / mainwindow.h
index 4f499d2..1f50c41 100755 (executable)
@@ -26,7 +26,7 @@ public:
 
 public slots:
     void showLibrary();
-    void showInfo();
+    void rotate();
     void showSettings();
     void showDevTools();
     void showBookmarks();
@@ -51,19 +51,14 @@ public slots:
     void onEndLoad();
 
 protected:
-    void closeEvent(QCloseEvent *event);
     void timerEvent(QTimerEvent *event);
-    void resizeEvent(QResizeEvent *event);
-
-protected slots:
-    void placeChildren();
 
 private:
     void setCurrentBook(const QModelIndex &current);
     BookView *view;
     QAction *settingsAction;
     QAction *libraryAction;
-    QAction *infoAction;
+    QAction *rotateAction;
     QAction *devToolsAction;
     QAction *bookmarksAction;
     QAction *fullScreenAction;
@@ -75,9 +70,9 @@ private:
     QModelIndex mCurrent;
     FullScreenWindow *fullScreenWindow;
     int preventBlankingTimer;
-    Progress *progress;
-    TranslucentButton *previousButton;
-    TranslucentButton *nextButton;
+    Progress *prog;
+    TranslucentButton *prev;
+    TranslucentButton *next;
     ProgressDialog *libraryProgress;
 };