From 31024eae7af4d333063c7dd382c825f2ab1d1c98 Mon Sep 17 00:00:00 2001 From: Jean Claveau Date: Fri, 5 Sep 2014 17:05:24 +0200 Subject: buildable wip --- src/widget/wpushbutton.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/widget/wpushbutton.h') diff --git a/src/widget/wpushbutton.h b/src/widget/wpushbutton.h index f318078f69..4b327128a8 100644 --- a/src/widget/wpushbutton.h +++ b/src/widget/wpushbutton.h @@ -79,6 +79,8 @@ class WPushButton : public WWidget { private: // Associates a pixmap of a given state of the button with the widget void setPixmap(int iState, bool bPressed, const QString &filename); + template + void setPixmap(int iState, bool bPressed, const pixmapSource sPixmapSource); // Associates a background pixmap with the widget. This is only needed if // the button pixmaps contains alpha channel values. -- cgit v1.2.3