You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4 lines
230 B
4 lines
230 B
#include "qfunction.hpp"
|
|
QFunction::QFunction() : QObject(nullptr) {}
|
|
QFunction::QFunction(std::function<void()> func, QObject *parent) : m_func(func), QObject(parent) {}
|
|
std::function<void()> &QFunction::get() { return m_func; }
|