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

Qt: simplification

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