]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/info_panels.hpp
Avoid potential problems with bad saved value
[vlc] / modules / gui / qt4 / components / info_panels.hpp
index a4d85281d2941e21c85e53917430ce23d9b26d2c..e2efe66d7d966c0249c26fe27f1f8ed4d8f897f1 100644 (file)
 #ifndef _INFOPANELS_H_
 #define _INFOPANELS_H_
 
-#include <vlc/vlc.h>
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <vlc_common.h>
 #include <vlc_meta.h>
 
 #include <QWidget>
+#include <QLabel>
 
-#ifdef HAVE_LIMITS_H
-#   include <limits.h>
-#endif
+#include <limits.h>
 
 #define setSpinBounds( spinbox ) {               \
     spinbox->setRange( 0, INT_MAX );             \
@@ -46,7 +49,6 @@ class QTreeWidgetItem;
 class QTreeView;
 class QSpinBox;
 class QLineEdit;
-class QLabel;
 
 class MetaPanel: public QWidget
 {
@@ -64,7 +66,6 @@ private:
     intf_thread_t *p_intf;
     bool b_inEditMode;
 
-    QLineEdit *uri_text;
     QLineEdit *title_text;
     QLineEdit *artist_text;
     QLineEdit *genre_text;
@@ -157,4 +158,13 @@ public slots:
     void update( input_item_t * );
     void clear();
 };
+class ArtCover : public QLabel
+{
+    Q_OBJECT
+    void mouseDoubleClickEvent( QMouseEvent *event )
+    {
+        fprintf(stderr, "**************************" );
+    }
+};
+
 #endif