X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=fullscreenwindow.h;h=0a84e549b97007f17581ebef79df02f97b532354;hb=43b8a9adfbf71b54c50d3b64f91e32635285add5;hp=c30c309c03f3d8766a4044ed8d84f4b66ef81431;hpb=549e8d8b51f631005863aa7f4f3cb2683a901669;p=dorian diff --git a/fullscreenwindow.h b/fullscreenwindow.h index c30c309..0a84e54 100644 --- a/fullscreenwindow.h +++ b/fullscreenwindow.h @@ -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