Remove QToolButton's protected constructor
As long as QToolButtonPrivate is declared in .cpp file, this constructor is useless. Change-Id: Ibbeaf291b88b3b203e5107e0227d68e65cbb9eee Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Jeremy Katz <jeremy.katz@nokia.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
This commit is contained in:
parent
117b27dc8d
commit
2178548111
@ -960,15 +960,6 @@ bool QToolButton::event(QEvent *event)
|
||||
return QAbstractButton::event(event);
|
||||
}
|
||||
|
||||
/*! \internal
|
||||
*/
|
||||
QToolButton::QToolButton(QToolButtonPrivate &dd, QWidget *parent)
|
||||
:QAbstractButton(dd, parent)
|
||||
{
|
||||
Q_D(QToolButton);
|
||||
d->init();
|
||||
}
|
||||
|
||||
/*!
|
||||
\fn void QToolButton::setPixmap(const QPixmap &pixmap)
|
||||
|
||||
|
@ -108,7 +108,6 @@ Q_SIGNALS:
|
||||
void triggered(QAction *);
|
||||
|
||||
protected:
|
||||
QToolButton(QToolButtonPrivate &, QWidget* parent);
|
||||
bool event(QEvent *e);
|
||||
void mousePressEvent(QMouseEvent *);
|
||||
void mouseReleaseEvent(QMouseEvent *);
|
||||
|
Loading…
Reference in New Issue
Block a user