]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/dialogs/external.hpp
Qt: customize dialogs, fix a misswrite with the last item of a toolbar.
[vlc] / modules / gui / qt4 / dialogs / external.hpp
index 1e5ed5edabf955950a8d69e7a3211482409b8eb7..250842e73163561b69e50e9bf7e9b942ab405f54 100644 (file)
@@ -40,15 +40,19 @@ public:
 
 private:
     intf_thread_t *intf;
-    QVLCPointer message;
+    static int error (vlc_object_t *, const char *, vlc_value_t, vlc_value_t,
+                      void *);
+    QVLCPointer critical;
     QVLCPointer login;
     QVLCPointer question;
     QVLCPointer progressBar;
 signals:
     void progressBarDestroyed (QWidget *);
+    void error (const QString&, const QString&);
 
 private slots:
-    void displayMessage (vlc_object_t *, void *);
+    void displayError (const QString&, const QString&);
+    void displayCritical (vlc_object_t *, void *);
     void requestLogin (vlc_object_t *, void *);
     void requestAnswer (vlc_object_t *, void *);
     void startProgressBar (vlc_object_t *, void *);