summaryrefslogtreecommitdiffstats
path: root/src/widget/wpushbutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget/wpushbutton.h')
-rw-r--r--src/widget/wpushbutton.h2
1 files changed, 2 insertions, 0 deletions
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<typename pixmapSource>
+ 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.