]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/controller.hpp
[Qt] Fix tooltip texts
[vlc] / modules / gui / qt4 / components / controller.hpp
index 21b6d307cbbedbfa151ae4b860bf52583e7fa6ef..f6d855379f1f5cac9584487ff16a9b901797ffe4 100644 (file)
@@ -99,7 +99,7 @@ static const QString nameL[BUTTON_MAX] = { "Play", "Stop", "Open",
     "Extended panel", "Playlist", "Snapshot", "Record", "A->B Loop",
     "Frame By Frame", "Reverse" };
 static const QString tooltipL[BUTTON_MAX] = { I_PLAY_TOOLTIP,
-    _("Stop playback"),
+    _("Stop playback"), _("Open a media"),
     _("Previous media in the playlist"),
     _("Next media in the playlist"), _("Slower"), _("Faster"),
     _("Toggle the video in fullscreen"), _("Toggle the video out fullscreen"),
@@ -143,7 +143,7 @@ class AbstractController : public QFrame
 
     Q_OBJECT
 public:
-    AbstractController( intf_thread_t  *_p_i );
+    AbstractController( intf_thread_t  *_p_i, QWidget *_parent = 0 );
 
 protected:
     intf_thread_t       *p_intf;
@@ -251,7 +251,7 @@ class AdvControlsWidget : public AbstractController
 {
     Q_OBJECT
 public:
-    AdvControlsWidget( intf_thread_t * );
+    AdvControlsWidget( intf_thread_t *, QWidget *_parent = 0 );
 };
 
 /* Slider Bar */
@@ -259,7 +259,7 @@ class InputControlsWidget : public AbstractController
 {
     Q_OBJECT
 public:
-    InputControlsWidget( intf_thread_t * );
+    InputControlsWidget( intf_thread_t * , QWidget *_parent = 0 );
 };
 
 /* Button Bar */
@@ -268,7 +268,8 @@ class ControlsWidget : public AbstractController
     Q_OBJECT
 public:
     /* p_intf, advanced control visible or not, blingbling or not */
-    ControlsWidget( intf_thread_t *_p_i, bool b_advControls );
+    ControlsWidget( intf_thread_t *_p_i, bool b_advControls,
+                    QWidget *_parent = 0 );
     virtual ~ControlsWidget();
 
 protected: