src/uiutilities.cpp

changeset 264
76a025db4948
parent 259
c27612f0eac0
equal deleted inserted replaced
263:59b6027b9843 264:76a025db4948
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */ 17 */
18 18
19 #include <QStyleFactory> 19 #include <QStyleFactory>
20 #include <QWidget> 20 #include <QWidget>
21 #include "uiutilities.h" 21 #include "src/uiutilities.h"
22 22
23 std::vector<QAction*> uiutilities::collectActions(QObject* subject) 23 std::vector<QAction*> uiutilities::collectActions(QObject* subject)
24 { 24 {
25 std::vector<QAction*> actions; 25 std::vector<QAction*> actions;
26 for (QAction* action : subject->findChildren<QAction*>()) 26 for (QAction* action : subject->findChildren<QAction*>())

mercurial