diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-06-22 11:44:14 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-06-29 19:19:47 +0200 |
commit | 9fa3cf15c8500fba5bbb861f1925160815ae2afd (patch) | |
tree | f779e08446bf302803b27130cf4c92fe46ba68b6 /src/gui/painting/qpainterpath.h | |
parent | c70c4e42665eb34e677fc51a49552c9af3f58d7a (diff) |
Use QList instead of QVector in gui
Applied to headers only. Source file to be changed separately.
Task-number: QTBUG-84469
Change-Id: Ic08a899321eaffc46b8461aaee3dbaa4d2c727a9
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/gui/painting/qpainterpath.h')
-rw-r--r-- | src/gui/painting/qpainterpath.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/painting/qpainterpath.h b/src/gui/painting/qpainterpath.h index b72a5d3298..c6bb68e35a 100644 --- a/src/gui/painting/qpainterpath.h +++ b/src/gui/painting/qpainterpath.h @@ -43,9 +43,9 @@ #include <QtGui/qtguiglobal.h> #include <QtGui/qtransform.h> #include <QtCore/qglobal.h> -#include <QtCore/qrect.h> #include <QtCore/qline.h> -#include <QtCore/qvector.h> +#include <QtCore/qlist.h> +#include <QtCore/qrect.h> #include <QtCore/qscopedpointer.h> QT_BEGIN_NAMESPACE @@ -256,8 +256,8 @@ public: qreal curveThreshold() const; void setDashPattern(Qt::PenStyle); - void setDashPattern(const QVector<qreal> &dashPattern); - QVector<qreal> dashPattern() const; + void setDashPattern(const QList<qreal> &dashPattern); + QList<qreal> dashPattern() const; void setDashOffset(qreal offset); qreal dashOffset() const; |