src/misc/InvokationDeferer.h

changeset 690
9e9c52ca955e
parent 642
751a8df42842
equal deleted inserted replaced
689:397870c6ed38 690:9e9c52ca955e
14 * 14 *
15 * You should have received a copy of the GNU General Public License 15 * You should have received a copy of the GNU General Public License
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 #ifndef LDFORGE_MISC_INVOKATION_DEFERER_H 19 #pragma once
20 #define LDFORGE_MISC_INVOKATION_DEFERER_H
21
22 #include <QObject> 20 #include <QObject>
23 21
24 class InvokationDeferer : public QObject 22 class InvokationDeferer : public QObject
25 { 23 {
26 Q_OBJECT 24 Q_OBJECT
40 private slots: 38 private slots:
41 void invokeFunctions(); 39 void invokeFunctions();
42 }; 40 };
43 41
44 void invokeLater (InvokationDeferer::FunctionType func); 42 void invokeLater (InvokationDeferer::FunctionType func);
45
46 #endif // LDFORGE_MISC_INVOKATION_DEFERER_H

mercurial