]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/main_interface.hpp
Qt4 - Resizing changes. Part 1
[vlc] / modules / gui / qt4 / main_interface.hpp
index bb287aea1ddfffb4234103c43958e6bb55fe88c1..159b4ca481219e33f0fe2427095eecbeddb6bb39 100644 (file)
@@ -74,14 +74,17 @@ public:
                         unsigned int *pi_height );
     void releaseVideo( void * );
     int controlVideo( void *p_window, int i_query, va_list args );
+    void requestLayoutUpdate();
 
     /* Getters */
     QSystemTrayIcon *getSysTray() { return sysTray; };
     QMenu *getSysTrayMenu() { return systrayMenu; };
     int getControlsVisibilityStatus();
 
-    /* Sizehint() */
+    bool b_toUpdate;
+#if 0    /* Sizehint() */
     QSize sizeHint() const;
+#endif
 protected:
 //    void resizeEvent( QResizeEvent * );
     void dropEvent( QDropEvent *);
@@ -102,13 +105,16 @@ private:
     QProgressBar        *pgBar;
 
     void handleMainUi( QSettings* );
-    void privacy();
+    void askForPrivacy();
     int  privacyDialog( QList<ConfigControl *> controls );
 
     /* Systray */
     void handleSystray();
     void createSystray();
 
+    void createStatusBar();
+    void initSystray();
+
     /* Video */
     VideoWidget         *videoWidget;
     //    QSize                savedVideoSize;