Fix forward navigation control on Linux.
[dorian] / fullscreenwindow.h
index c30c309..0a84e54 100644 (file)
@@ -18,10 +18,7 @@ class FullScreenWindow: public AdopterWindow
     Q_OBJECT
 
 public:
-    explicit FullScreenWindow(QWidget *parent);
-
-    /** Swith to full screen, and flash the restore button. */
-    void showFullScreen();
+    explicit FullScreenWindow(QWidget *parent = 0);
 
     /**
      * Adopt children.
@@ -39,11 +36,18 @@ protected:
     /** Handle size (and orientation) change. */
     void resizeEvent(QResizeEvent *e);
 
+    /** Handle show event. */
+    void showEvent(QShowEvent *e);
+
+    /** Handle close event. */
+    void closeEvent(QCloseEvent *e);
+
+protected slots:
+    /** Re-align adopted child windows. */
+    void placeChildren();
+
 private:
     TranslucentButton *restoreButton;
-    Progress *progress;
-    TranslucentButton *previousButton;
-    TranslucentButton *nextButton;
 };
 
 #endif // FULLSCREENWINDOW_H