forward released too
svn path=/trunk/KDE/kdelibs/; revision=1034804
This commit is contained in:
parent
59296fb520
commit
2bdb8bc405
@ -173,6 +173,7 @@ ToolButton::ToolButton(QGraphicsWidget *parent)
|
|||||||
QToolButton *native = new QToolButton;
|
QToolButton *native = new QToolButton;
|
||||||
connect(native, SIGNAL(clicked()), this, SIGNAL(clicked()));
|
connect(native, SIGNAL(clicked()), this, SIGNAL(clicked()));
|
||||||
connect(native, SIGNAL(pressed()), this, SIGNAL(pressed()));
|
connect(native, SIGNAL(pressed()), this, SIGNAL(pressed()));
|
||||||
|
connect(native, SIGNAL(released()), this, SIGNAL(released()));
|
||||||
setWidget(native);
|
setWidget(native);
|
||||||
native->setAttribute(Qt::WA_NoSystemBackground);
|
native->setAttribute(Qt::WA_NoSystemBackground);
|
||||||
native->setAutoRaise(true);
|
native->setAutoRaise(true);
|
||||||
|
@ -159,6 +159,10 @@ Q_SIGNALS:
|
|||||||
* @since 4.4
|
* @since 4.4
|
||||||
*/
|
*/
|
||||||
void pressed();
|
void pressed();
|
||||||
|
/**
|
||||||
|
* @since 4.4
|
||||||
|
*/
|
||||||
|
void released();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void paint(QPainter *painter,
|
void paint(QPainter *painter,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user