Commit 5f47703c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: simplification

parent e14f4778
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
#include <QPainter> #include <QPainter>
#include <QStyleOptionViewItem> #include <QStyleOptionViewItem>
#include <QKeyEvent> #include <QKeyEvent>
#include <QPushButton>
PluginDialog::PluginDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf ) PluginDialog::PluginDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
......
...@@ -32,16 +32,10 @@ ...@@ -32,16 +32,10 @@
#include "qt4.hpp" /*needed for qtr and CONNECT, but not necessary */ #include "qt4.hpp" /*needed for qtr and CONNECT, but not necessary */
#include <QPainter> #include <QPainter>
#include <QColorGroup>
#include <QRect> #include <QRect>
#include <QKeyEvent> #include <QKeyEvent>
#include <QWheelEvent> #include <QWheelEvent>
#include <QHBoxLayout>
#include <QStyle>
#include <QStyleOption>
#include <vlc_intf_strings.h>
#include <vlc_keys.h> #include <vlc_keys.h>
#include <wctype.h> /* twolower() */
QVLCFramelessButton::QVLCFramelessButton( QWidget *parent ) QVLCFramelessButton::QVLCFramelessButton( QWidget *parent )
: QPushButton( parent ) : QPushButton( parent )
......
...@@ -34,16 +34,11 @@ ...@@ -34,16 +34,11 @@
#include "qt4.hpp" /*needed for qtr and CONNECT, but not necessary */ #include "qt4.hpp" /*needed for qtr and CONNECT, but not necessary */
#include <QPainter> #include <QPainter>
#include <QColorGroup>
#include <QRect> #include <QRect>
#include <QKeyEvent>
#include <QWheelEvent>
#include <QHBoxLayout>
#include <QStyle> #include <QStyle>
#include <QStyleOption> #include <QStyleOption>
#include <vlc_intf_strings.h> #include <vlc_intf_strings.h>
#include <vlc_keys.h>
#include <wctype.h> /* twolower() */
ClickLineEdit::ClickLineEdit( const QString &msg, QWidget *parent) : QLineEdit( parent ) ClickLineEdit::ClickLineEdit( const QString &msg, QWidget *parent) : QLineEdit( parent )
{ {
......
...@@ -28,12 +28,7 @@ ...@@ -28,12 +28,7 @@
#define _SEARCHLINEEDIT_H_ #define _SEARCHLINEEDIT_H_
#include <QLineEdit> #include <QLineEdit>
#include <QPushButton>
#include <QLabel>
#include <QStackedWidget>
#include <QSpinBox>
class QVLCFramelessButton;
/** /**
This class provides a QLineEdit which contains a greyed-out hinting This class provides a QLineEdit which contains a greyed-out hinting
text as long as the user didn't enter any text text as long as the user didn't enter any text
...@@ -60,6 +55,7 @@ private: ...@@ -60,6 +55,7 @@ private:
bool mDrawClickMsg; bool mDrawClickMsg;
}; };
class QVLCFramelessButton;
class SearchLineEdit : public QLineEdit class SearchLineEdit : public QLineEdit
{ {
Q_OBJECT Q_OBJECT
......
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