mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-04 10:54:35 +00:00
33 lines
688 B
C++
33 lines
688 B
C++
/****************************************************************************
|
|
**
|
|
** Copyright (c) 2007 Trolltech ASA <info@trolltech.com>
|
|
**
|
|
** Use, modification and distribution is allowed without limitation,
|
|
** warranty, liability or support of any kind.
|
|
**
|
|
****************************************************************************/
|
|
|
|
#ifndef LINEEDIT_H
|
|
#define LINEEDIT_H
|
|
|
|
#include <QLineEdit>
|
|
|
|
class QToolButton;
|
|
|
|
class LineEdit : public QLineEdit
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
LineEdit(QWidget *parent);
|
|
|
|
protected:
|
|
void resizeEvent(QResizeEvent *e) override;
|
|
void keyPressEvent(QKeyEvent *event) override;
|
|
|
|
private:
|
|
QToolButton *m_searchButton;
|
|
};
|
|
|
|
#endif // LIENEDIT_H
|