forward pressed

svn path=/trunk/KDE/kdelibs/; revision=1031647
This commit is contained in:
Marco Martin 2009-10-05 17:20:05 +00:00
parent 3db6d84c03
commit 8587a9dd47
2 changed files with 5 additions and 0 deletions

View File

@ -170,6 +170,7 @@ ToolButton::ToolButton(QGraphicsWidget *parent)
{
QToolButton *native = new QToolButton;
connect(native, SIGNAL(clicked()), this, SIGNAL(clicked()));
connect(native, SIGNAL(pressed()), this, SIGNAL(pressed()));
setWidget(native);
native->setAttribute(Qt::WA_NoSystemBackground);
native->setAutoRaise(true);

View File

@ -155,6 +155,10 @@ public:
Q_SIGNALS:
void clicked();
/**
* @since 4.4
*/
void pressed();
protected:
void paint(QPainter *painter,