[vlc-commits] Qt: EPGWidget: namespace enum

Francois Cartegnie git at videolan.org
Sat Mar 9 20:30:42 CET 2013


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Mar  9 20:26:45 2013 +0100| [012a405f268ea1ca9e8254776465709db055606d] | committer: Francois Cartegnie

Qt: EPGWidget: namespace enum

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=012a405f268ea1ca9e8254776465709db055606d
---

 modules/gui/qt4/components/epg/EPGWidget.cpp |    6 ------
 modules/gui/qt4/components/epg/EPGWidget.hpp |    5 +++++
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/modules/gui/qt4/components/epg/EPGWidget.cpp b/modules/gui/qt4/components/epg/EPGWidget.cpp
index 9bf8fd5..2373094 100644
--- a/modules/gui/qt4/components/epg/EPGWidget.cpp
+++ b/modules/gui/qt4/components/epg/EPGWidget.cpp
@@ -37,12 +37,6 @@
 #include <vlc_common.h>
 #include <vlc_epg.h>
 
-enum
-{
-    EPGVIEW_WIDGET = 0,
-    NOEPG_WIDGET = 1
-};
-
 EPGWidget::EPGWidget( QWidget *parent ) : QWidget( parent )
 {
     b_input_type_known = false;
diff --git a/modules/gui/qt4/components/epg/EPGWidget.hpp b/modules/gui/qt4/components/epg/EPGWidget.hpp
index 6f98a9d..c269b48 100644
--- a/modules/gui/qt4/components/epg/EPGWidget.hpp
+++ b/modules/gui/qt4/components/epg/EPGWidget.hpp
@@ -43,6 +43,11 @@ class EPGWidget : public QWidget
 public:
     explicit EPGWidget( QWidget* parent = 0 );
     void reset();
+    enum
+    {
+        EPGVIEW_WIDGET = 0,
+        NOEPG_WIDGET = 1
+    };
 
 public slots:
     void setZoom( int level );



More information about the vlc-commits mailing list