src/uiutilities.h

Sat, 14 Dec 2019 23:00:01 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sat, 14 Dec 2019 23:00:01 +0200
changeset 20
cef43609a374
parent 16
aeb5f203b3eb
child 24
1a0faaaceb84
permissions
-rw-r--r--

fixed build

16
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
1 #pragma once
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
2 #include <QAction>
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
3
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
4 namespace uiutilities
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
5 {
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
6 using KeySequenceMap = QMap<QString, QKeySequence>;
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
7 QVector<QAction*> collectActions(QObject* subject);
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
8 KeySequenceMap makeKeySequenceMap(const QVector<QAction*>& actions);
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
9 }

mercurial