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