summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qshortcutmap_p.h
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-06-22 11:44:14 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-06-29 19:19:47 +0200
commit9fa3cf15c8500fba5bbb861f1925160815ae2afd (patch)
treef779e08446bf302803b27130cf4c92fe46ba68b6 /src/gui/kernel/qshortcutmap_p.h
parentc70c4e42665eb34e677fc51a49552c9af3f58d7a (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/kernel/qshortcutmap_p.h')
-rw-r--r--src/gui/kernel/qshortcutmap_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/kernel/qshortcutmap_p.h b/src/gui/kernel/qshortcutmap_p.h
index aa3dd969f0..ff92a38e56 100644
--- a/src/gui/kernel/qshortcutmap_p.h
+++ b/src/gui/kernel/qshortcutmap_p.h
@@ -53,7 +53,7 @@
#include <QtGui/private/qtguiglobal_p.h>
#include "QtGui/qkeysequence.h"
-#include "QtCore/qvector.h"
+#include "QtCore/qlist.h"
#include "QtCore/qscopedpointer.h"
QT_REQUIRE_CONFIG(shortcut);
@@ -98,9 +98,9 @@ private:
QKeySequence::SequenceMatch find(QKeyEvent *e, int ignoredModifiers = 0);
QKeySequence::SequenceMatch matches(const QKeySequence &seq1, const QKeySequence &seq2) const;
- QVector<const QShortcutEntry *> matches() const;
- void createNewSequences(QKeyEvent *e, QVector<QKeySequence> &ksl, int ignoredModifiers);
- void clearSequence(QVector<QKeySequence> &ksl);
+ QList<const QShortcutEntry *> matches() const;
+ void createNewSequences(QKeyEvent *e, QList<QKeySequence> &ksl, int ignoredModifiers);
+ void clearSequence(QList<QKeySequence> &ksl);
int translateModifiers(Qt::KeyboardModifiers modifiers);
QScopedPointer<QShortcutMapPrivate> d_ptr;