WIntegralSpinBox: Make use of in-class initializers where applicable
This commit is contained in:
parent
d6cbc0d247
commit
fcf40ec18c
|
@ -7,9 +7,7 @@ WIntegralSpinBox::WIntegralSpinBox(QWidget *pParent) : QSpinBox(pParent)
|
|||
lineEdit()->installEventFilter(this);
|
||||
}
|
||||
|
||||
WIntegralSpinBox::~WIntegralSpinBox()
|
||||
{
|
||||
}
|
||||
WIntegralSpinBox::~WIntegralSpinBox() = default;
|
||||
|
||||
void WIntegralSpinBox::wheelEvent(QWheelEvent *pEvent)
|
||||
{
|
||||
|
|
|
@ -9,9 +9,10 @@ class WIntegralSpinBox : public QSpinBox
|
|||
Q_OBJECT
|
||||
public:
|
||||
explicit WIntegralSpinBox(QWidget *pParent);
|
||||
~WIntegralSpinBox();
|
||||
void wheelEvent(QWheelEvent *pEvent);
|
||||
bool eventFilter(QObject *pObj, QEvent *pEvent);
|
||||
~WIntegralSpinBox() override;
|
||||
|
||||
void wheelEvent(QWheelEvent* pEvent) override;
|
||||
bool eventFilter(QObject* pObj, QEvent* pEvent) override;
|
||||
};
|
||||
|
||||
#endif // WINTEGRALSPINBOX_H
|
||||
|
|
Loading…
Reference in New Issue