ObjectMatches.hpp
1 #pragma once
2 #include <QObject>
3 
4 template <typename T>
5 struct matches
6 {
7  bool operator()(const QObject* obj) { return dynamic_cast<const T*>(obj); }
8 };
9 
15 using Priority = int32_t;
Definition: ObjectMatches.hpp:6