Commit 0ba0df15 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - #include cleaning

parent e2e6f592
......@@ -39,7 +39,6 @@
#include "components/complete_preferences.hpp"
#include "components/preferences_widgets.hpp"
#include "qt4.hpp"
#include <vlc_config_cat.h>
#include <vlc_intf_strings.h>
......
......@@ -24,7 +24,6 @@
*****************************************************************************/
#include "dialogs_provider.hpp"
#include "qt4.hpp"
#include "components/interface_widgets.hpp"
#include "main_interface.hpp"
#include "input_manager.hpp"
......
......@@ -91,7 +91,7 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
/* Ugly hacks to get the good Widget */
//This lineEdit is the normal line in the fileDialog.
#if QT43
#if HAS_QT43
lineFileEdit = findChildren<QLineEdit*>()[2];
#else
lineFileEdit = findChildren<QLineEdit*>()[3];
......
......@@ -34,7 +34,6 @@
#include "components/preferences_widgets.hpp"
#include "util/customwidgets.hpp"
#include "qt4.hpp"
#include <vlc_keys.h>
......
......@@ -25,7 +25,6 @@
#include "components/simple_preferences.hpp"
#include "components/preferences_widgets.hpp"
#include "qt4.hpp"
#include "ui/sprefs_audio.h"
#include "ui/sprefs_input.h"
......
......@@ -30,13 +30,12 @@
#include <QEvent>
#define QT43 ( QT_VERSION >= 0x040300 )
#define HAS_QT43 ( QT_VERSION >= 0x040300 )
/* Add define for duration, VLC_META_ENGINE doesn't include it */
#define VLC_META_ENGINE_DURATION 0x00000002
#define VLC_META_DURATION N_("Duration")
class QApplication;
class QMenu;
class MainInterface;
......@@ -114,16 +113,4 @@ public:
intf_dialog_args_t *p_arg;
};
/* Ugly to put it here, but don't want more files ... */
#if 0
#include <QFrame>
class BasePlaylistWidget : public QFrame
{
public:
BasePlaylistWidget( intf_thread_t *_p_i ) : p_intf( _p_i) {};
virtual ~BasePlaylistWidget() {};
protected:
intf_thread_t *p_intf;
};
#endif
#endif
......@@ -34,6 +34,7 @@
#include <QPlastiqueStyle>
#include <QPushButton>
#include <QKeyEvent>
#include "qt4.hpp"
#include <vlc/vlc.h>
#include <vlc_charset.h>
......
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