]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/menus.hpp
Qt4: messages. Small commit to fix two forgottten qfu() and to add whitespaces where...
[vlc] / modules / gui / qt4 / menus.hpp
index 2cd9774101093a9535d1bd6db44a43384d10ddaa..7109bd404f272f0d90f3d0d9bf8e69391cf64de9 100644 (file)
@@ -58,15 +58,19 @@ class QVLCMenu : public QObject
 {
     Q_OBJECT;
 public:
-    static void createMenuBar( QMenuBar *, intf_thread_t * ); 
+    static void createMenuBar( MainInterface *mi, intf_thread_t *, bool, bool, bool );
 
     /* Menus */
     static QMenu *FileMenu();
-    static QMenu *ToolsMenu( intf_thread_t *, bool with_intf = true );
+    static QMenu *SDMenu( intf_thread_t * );
+    static QMenu *PlaylistMenu( MainInterface *, intf_thread_t *);
+    static QMenu *ToolsMenu( intf_thread_t *, MainInterface *, bool, bool,
+                             bool with = true );
     static QMenu *NavigMenu( intf_thread_t * , QMenu * );
     static QMenu *VideoMenu( intf_thread_t * , QMenu * );
     static QMenu *AudioMenu( intf_thread_t * , QMenu * );
     static QMenu *InterfacesMenu( intf_thread_t *p_intf, QMenu * );
+    static QMenu *HelpMenu();
 
     /* Popups */
     static void AudioPopupMenu( intf_thread_t * );
@@ -96,14 +100,10 @@ public:
     {
         switch( id )
         {
-        case 1:
-            QVLCMenu::VideoMenu( p_intf, menu ); break;
-        case 2:
-            QVLCMenu::AudioMenu( p_intf, menu ); break;
-        case 3:
-            QVLCMenu::NavigMenu( p_intf, menu ); break;
-        case 4:
-            QVLCMenu::InterfacesMenu( p_intf, menu ); break;
+        case 1: QVLCMenu::VideoMenu( p_intf, menu ); break;
+        case 2: QVLCMenu::AudioMenu( p_intf, menu ); break;
+        case 3: QVLCMenu::NavigMenu( p_intf, menu ); break;
+        case 4: QVLCMenu::InterfacesMenu( p_intf, menu ); break;
         }
     };
     int id; QMenu *menu;