1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-04 02:45:44 +00:00
qBittorrent/src/gui/lineedit.h
Chocobo1 16a76eee9f
Add final specifier to GUI classes
Follow up d3d3f7dbb3497c8b9ed0053957678de449a270b4.
2020-04-19 10:59:59 +08:00

33 lines
694 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 final : 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