Commit 541836cd authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: EPG, include orders

parent e4cd963a
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#ifndef EPGEVENT_H #ifndef EPGEVENT_H
#define EPGEVENT_H #define EPGEVENT_H
#include <QString> class QString;
#include <QDateTime> #include <QDateTime>
class EPGEvent class EPGEvent
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <QFont> #include <QFont>
#include <QFontMetrics> #include <QFontMetrics>
#include <QDebug> #include <QDebug>
#include <QDateTime>
#include "EPGItem.hpp" #include "EPGItem.hpp"
#include "EPGView.hpp" #include "EPGView.hpp"
......
...@@ -26,9 +26,10 @@ ...@@ -26,9 +26,10 @@
#include <QObject> #include <QObject>
#include <QGraphicsItem> #include <QGraphicsItem>
#include <QPainter>
#include <QString> class QPainter;
#include <QDateTime> class QString;
class QDateTime;
class EPGView; class EPGView;
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <QFont> #include <QFont>
#include <QPaintEvent> #include <QPaintEvent>
#include <QtDebug> #include <QtDebug>
#include <QDateTime>
EPGRuler::EPGRuler( QWidget* parent ) EPGRuler::EPGRuler( QWidget* parent )
: QWidget( parent ) : QWidget( parent )
......
...@@ -21,9 +21,11 @@ ...@@ -21,9 +21,11 @@
* 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#include <QMatrix>
#include "EPGView.hpp" #include "EPGView.hpp"
#include "EPGItem.hpp" #include "EPGItem.hpp"
#include <QDateTime>
#include <QMatrix>
#include <QtDebug> #include <QtDebug>
EPGView::EPGView( QWidget *parent ) : QGraphicsView( parent ) EPGView::EPGView( QWidget *parent ) : QGraphicsView( parent )
......
...@@ -24,14 +24,14 @@ ...@@ -24,14 +24,14 @@
#ifndef EPGVIEW_H #ifndef EPGVIEW_H
#define EPGVIEW_H #define EPGVIEW_H
#include "EPGEvent.hpp"
#include <QGraphicsView> #include <QGraphicsView>
#include <QVBoxLayout>
#include <QList> #include <QList>
#include "EPGEvent.hpp"
#define TRACKS_HEIGHT 75 #define TRACKS_HEIGHT 75
class QDateTime;
class EPGView : public QGraphicsView class EPGView : public QGraphicsView
{ {
Q_OBJECT Q_OBJECT
......
...@@ -21,11 +21,12 @@ ...@@ -21,11 +21,12 @@
* 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#include "EPGWidget.hpp"
#include <QGridLayout> #include <QGridLayout>
#include <QScrollBar> #include <QScrollBar>
#include <QDebug> #include <QDebug>
#include <QLabel>
#include "EPGWidget.hpp"
ChannelsWidget::ChannelsWidget( QWidget *parent ) : QWidget( parent ) ChannelsWidget::ChannelsWidget( QWidget *parent ) : QWidget( parent )
{ {
......
...@@ -24,12 +24,6 @@ ...@@ -24,12 +24,6 @@
#ifndef EPGWIDGET_H #ifndef EPGWIDGET_H
#define EPGWIDGET_H #define EPGWIDGET_H
#include <QWidget>
#include <QMap>
#include <QMultiMap>
#include <QDateTime>
#include <QLabel>
#include "EPGView.hpp" #include "EPGView.hpp"
#include "EPGEvent.hpp" #include "EPGEvent.hpp"
#include "EPGRuler.hpp" #include "EPGRuler.hpp"
...@@ -37,16 +31,22 @@ ...@@ -37,16 +31,22 @@
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_epg.h> #include <vlc_epg.h>
#include <QWidget>
#include <QMultiMap>
class QDateTime;
class QLabel;
class ChannelsWidget : public QWidget class ChannelsWidget : public QWidget
{ {
Q_OBJECT Q_OBJECT
public: public:
explicit ChannelsWidget( QWidget* parent = 0 ); explicit ChannelsWidget( QWidget* parent = 0 );
}; };
class EPGWidget : public QWidget class EPGWidget : public QWidget
{ {
Q_OBJECT Q_OBJECT
public: public:
explicit EPGWidget( QWidget* parent = 0 ); explicit EPGWidget( QWidget* parent = 0 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment