]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/info_panels.hpp
Drop trailing semicolons
[vlc] / modules / gui / qt4 / components / info_panels.hpp
index e2efe66d7d966c0249c26fe27f1f8ed4d8f897f1..ec58f29cfb5acdd8c1c87bb1bd9342f230078fcb 100644 (file)
@@ -34,7 +34,6 @@
 #include <vlc_meta.h>
 
 #include <QWidget>
-#include <QLabel>
 
 #include <limits.h>
 
@@ -49,13 +48,13 @@ class QTreeWidgetItem;
 class QTreeView;
 class QSpinBox;
 class QLineEdit;
+class CoverArtLabel;
 
 class MetaPanel: public QWidget
 {
-    Q_OBJECT;
+    Q_OBJECT
 public:
-    MetaPanel( QWidget *, intf_thread_t * );
-    virtual ~MetaPanel();
+    MetaPanel( QWidget *, struct intf_thread_t * );
     void saveMeta();
 
     bool isInEditMode();
@@ -63,7 +62,7 @@ public:
 
 private:
     input_item_t *p_input;
-    intf_thread_t *p_intf;
+    struct intf_thread_t *p_intf;
     bool b_inEditMode;
 
     QLineEdit *title_text;
@@ -80,7 +79,7 @@ private:
     QLineEdit *nowplaying_text;
     QLineEdit *publisher_text;
 //    QLineEdit *encodedby_text;
-    QLabel *art_cover;
+    CoverArtLabel *art_cover;
 
 public slots:
     void update( input_item_t * );
@@ -90,18 +89,17 @@ private slots:
     void enterEditMode();
 
 signals:
-    void uriSet( QString );
+    void uriSet( const QString& );
     void editing();
 };
 
 class ExtraMetaPanel: public QWidget
 {
-    Q_OBJECT;
+    Q_OBJECT
 public:
-    ExtraMetaPanel( QWidget *, intf_thread_t * );
-    virtual  ~ExtraMetaPanel() {};
+    ExtraMetaPanel( QWidget *, struct intf_thread_t * );
 private:
-    intf_thread_t *p_intf;
+    struct intf_thread_t *p_intf;
     QTreeWidget *extraMetaTree;
 public slots:
     void update( input_item_t * );
@@ -110,12 +108,11 @@ public slots:
 
 class InputStatsPanel: public QWidget
 {
-    Q_OBJECT;
+    Q_OBJECT
 public:
-    InputStatsPanel( QWidget *, intf_thread_t * );
-    virtual ~InputStatsPanel();
+    InputStatsPanel( QWidget *, struct intf_thread_t * );
 private:
-    intf_thread_t *p_intf;
+    struct intf_thread_t *p_intf;
 
     QTreeWidget *StatsTree;
     QTreeWidgetItem *input;
@@ -123,6 +120,8 @@ private:
     QTreeWidgetItem *input_bitrate_stat;
     QTreeWidgetItem *demuxed_stat;
     QTreeWidgetItem *stream_bitrate_stat;
+    QTreeWidgetItem *corrupted_stat;
+    QTreeWidgetItem *discontinuity_stat;
 
     QTreeWidgetItem *video;
     QTreeWidgetItem *vdecoded_stat;
@@ -147,24 +146,15 @@ public slots:
 
 class InfoPanel: public QWidget
 {
-    Q_OBJECT;
+    Q_OBJECT
 public:
-    InfoPanel( QWidget *, intf_thread_t * );
-    virtual ~InfoPanel();
+    InfoPanel( QWidget *, struct intf_thread_t * );
 private:
-    intf_thread_t *p_intf;
+    struct intf_thread_t *p_intf;
     QTreeWidget *InfoTree;
 public slots:
     void update( input_item_t * );
     void clear();
 };
-class ArtCover : public QLabel
-{
-    Q_OBJECT
-    void mouseDoubleClickEvent( QMouseEvent *event )
-    {
-        fprintf(stderr, "**************************" );
-    }
-};
 
 #endif