Sync translations from Transifex and run lupdate
[qBittorrent.git] / src / gui / lineedit.h
blob1df63ad6d4a166b182285dedca59684236eea2e5
1 /****************************************************************************
2 **
3 ** Copyright (c) 2007 Trolltech ASA <info@trolltech.com>
4 **
5 ** Use, modification and distribution is allowed without limitation,
6 ** warranty, liability or support of any kind.
7 **
8 ****************************************************************************/
10 #pragma once
12 #include <QLineEdit>
14 class QToolButton;
16 class LineEdit final : public QLineEdit
18 Q_OBJECT
20 public:
21 LineEdit(QWidget *parent);
23 protected:
24 void resizeEvent(QResizeEvent *e) override;
25 void keyPressEvent(QKeyEvent *event) override;
27 private:
28 QToolButton *m_searchButton;