summaryrefslogtreecommitdiffstats
path: root/src/widget/wpushbutton.h
diff options
context:
space:
mode:
authorJean Claveau <jean.claveau@c277.fr>2014-09-05 17:05:24 +0200
committerJean Claveau <jean.claveau@c277.fr>2014-09-05 17:05:24 +0200
commit31024eae7af4d333063c7dd382c825f2ab1d1c98 (patch)
tree5467adc1d863b8ee9e46936c49d134fdb3cb6e16 /src/widget/wpushbutton.h
parent9ac3868829a029c4b39e9f63cd9bc3f7fb47647d (diff)
buildable wip
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.