Commit a50b6437 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

qt4 - Dialogs: compile fix and small modifications.

parent ca7f6e8f
...@@ -35,10 +35,6 @@ ...@@ -35,10 +35,6 @@
#include <QStackedLayout> #include <QStackedLayout>
#include <QListView> #include <QListView>
#ifdef HAVE_LIMITS_H
# include <limits.h>
#endif
/************************************************************************** /**************************************************************************
* Open Files and subtitles * * Open Files and subtitles *
**************************************************************************/ **************************************************************************/
...@@ -478,7 +474,6 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) : ...@@ -478,7 +474,6 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
#define CuMRL( widget, slot ) CONNECT( widget , slot , this, updateMRL() ); #define CuMRL( widget, slot ) CONNECT( widget , slot , this, updateMRL() );
#define setMaxBound( spinbox ) spinbox->setRange ( 0, INT_MAX );
/******* /*******
* V4L * * V4L *
...@@ -643,6 +638,7 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) : ...@@ -643,6 +638,7 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
bdaFreq->setAlignment( Qt::AlignRight ); bdaFreq->setAlignment( Qt::AlignRight );
bdaFreq->setSuffix(" kHz"); bdaFreq->setSuffix(" kHz");
bdaFreq->setSingleStep( 1000 ); bdaFreq->setSingleStep( 1000 );
bdaFreq->setAccelerated( true );
setMaxBound( bdaFreq ) setMaxBound( bdaFreq )
bdaPropLayout->addWidget( bdaFreq, 0, 1 ); bdaPropLayout->addWidget( bdaFreq, 0, 1 );
......
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#define _OPENPANELS_H_ #define _OPENPANELS_H_
#include <vlc/vlc.h> #include <vlc/vlc.h>
#include <QWidget>
#include <QString>
#include <QFileDialog> #include <QFileDialog>
#include "ui/open_file.h" #include "ui/open_file.h"
...@@ -35,13 +33,21 @@ ...@@ -35,13 +33,21 @@
#include "ui/open_net.h" #include "ui/open_net.h"
#include "ui/open_capture.h" #include "ui/open_capture.h"
#ifdef HAVE_LIMITS_H
# include <limits.h>
#endif
#define setMaxBound( spinbox ) spinbox->setRange ( 0, INT_MAX );
#define V4L_DEVICE 0x0 #define V4L_DEVICE 0x0
#define PVR_DEVICE 0x1 #define PVR_DEVICE 0x1
#define DVB_DEVICE 0x2 #define DVB_DEVICE 0x2
#define BDA_DEVICE 0x4 #define BDA_DEVICE 0x4
#define DSHOW_DEVICE 0x8 #define DSHOW_DEVICE 0x8
class QWidget;
class QLineEdit; class QLineEdit;
class QString;
class OpenPanel: public QWidget class OpenPanel: public QWidget
{ {
......
...@@ -21,18 +21,18 @@ ...@@ -21,18 +21,18 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#include "qt4.hpp"
#include "util/qvlcframe.hpp"
#include "input_manager.hpp"
#include "dialogs/open.hpp"
#include "components/open.hpp"
#include <QTabWidget> #include <QTabWidget>
#include <QGridLayout> #include <QGridLayout>
#include <QFileDialog> #include <QFileDialog>
#include <QRegExp> #include <QRegExp>
#include <QMenu> #include <QMenu>
#include "dialogs/open.hpp"
#include "components/open.hpp"
#include "qt4.hpp"
#include "util/qvlcframe.hpp"
#include "input_manager.hpp"
OpenDialog *OpenDialog::instance = NULL; OpenDialog *OpenDialog::instance = NULL;
......
...@@ -26,17 +26,15 @@ ...@@ -26,17 +26,15 @@
#include <vlc/vlc.h> #include <vlc/vlc.h>
#include "ui/open.h"
#include "util/qvlcframe.hpp" #include "util/qvlcframe.hpp"
#include "components/open.hpp"
#include "dialogs_provider.hpp" #include "dialogs_provider.hpp"
#include <QTabWidget> #include "ui/open.h"
#include <QBoxLayout> #include "components/open.hpp"
#include <QString>
class QString;
class QToolButton; class QToolButton;
class QTabWidget;
class OpenDialog : public QVLCDialog class OpenDialog : public QVLCDialog
{ {
......
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