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:
Ivan Komissarov 2012-07-04 20:45:24 +04:00 committed by Qt by Nokia
parent 117b27dc8d
commit 2178548111
2 changed files with 0 additions and 10 deletions

View File

@ -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)

View File

@ -108,7 +108,6 @@ Q_SIGNALS:
void triggered(QAction *);
protected:
QToolButton(QToolButtonPrivate &, QWidget* parent);
bool event(QEvent *e);
void mousePressEvent(QMouseEvent *);
void mouseReleaseEvent(QMouseEvent *);