forward pressed
svn path=/trunk/KDE/kdelibs/; revision=1031647
This commit is contained in:
parent
3db6d84c03
commit
8587a9dd47
@ -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);
|
||||
|
@ -155,6 +155,10 @@ public:
|
||||
|
||||
Q_SIGNALS:
|
||||
void clicked();
|
||||
/**
|
||||
* @since 4.4
|
||||
*/
|
||||
void pressed();
|
||||
|
||||
protected:
|
||||
void paint(QPainter *painter,
|
||||
|
Loading…
Reference in New Issue
Block a user