src/uiutilities.h

Sun, 19 Jan 2020 13:53:07 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sun, 19 Jan 2020 13:53:07 +0200
changeset 23
3387a84ddaba
parent 16
aeb5f203b3eb
child 24
1a0faaaceb84
permissions
-rw-r--r--

fixed a pile of nonsense that caused subfiles to go haywire

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