summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdrawutil.h
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-04-29 17:36:10 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-04-29 17:36:10 (GMT)
commitb4d642e639eabde5d72a4f2f95cffc13bdf193a4 (patch)
treec1149b0b0de2f2b4634e7864098aee59e9e11599 /src/gui/painting/qdrawutil.h
parentac412256e2a4f5b0824bd8a836165b05dee118d1 (diff)
downloadQt-b4d642e639eabde5d72a4f2f95cffc13bdf193a4.zip
Qt-b4d642e639eabde5d72a4f2f95cffc13bdf193a4.tar.gz
Qt-b4d642e639eabde5d72a4f2f95cffc13bdf193a4.tar.bz2
Port QStyleSheetStyle to the new qDrawBorderPixmap implementation
Also add another constructor to QTileRules. Reviewed-by: Jens Bache-Wiig
Diffstat (limited to 'src/gui/painting/qdrawutil.h')
-rw-r--r--src/gui/painting/qdrawutil.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/painting/qdrawutil.h b/src/gui/painting/qdrawutil.h
index 08fa1ab..61110e0 100644
--- a/src/gui/painting/qdrawutil.h
+++ b/src/gui/painting/qdrawutil.h
@@ -153,10 +153,10 @@ struct Q_GUI_EXPORT QMargins
struct Q_GUI_EXPORT QTileRules
{
- inline QTileRules(Qt::TileRule horizontalRule = Qt::Stretch,
- Qt::TileRule verticalRule = Qt::Stretch)
- : horizontal(horizontalRule),
- vertical(verticalRule) {}
+ inline QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule = Qt::Stretch)
+ : horizontal(horizontalRule), vertical(verticalRule) {}
+ inline QTileRules(Qt::TileRule rule = Qt::Stretch)
+ : horizontal(rule), vertical(rule) {}
Qt::TileRule horizontal;
Qt::TileRule vertical;
};