QCAD
Open Source 2D CAD
RRunner.h
Go to the documentation of this file.
1 
20 #ifndef RRUNNER_H
21 #define RRUNNER_H
22 
23 #include "core_global.h"
24 
25 #include <QDebug>
26 #include <QMetaType>
27 #include <QObject>
28 
34 class QCADCORE_EXPORT RRunner : public QObject {
35  Q_OBJECT
36 
37 public slots:
38  void doWork() {
39  int i=0;
40  while(true) {
41  qDebug() << "runner: i: " << i++;
42  }
43  }
44 };
45 
47 
48 #endif
#define QCADCORE_EXPORT
Definition: core_global.h:10
Q_DECLARE_METATYPE(RMath *)
void doWork()
Definition: RRunner.h:38
Copyright (c) 2011-2015 by Andrew Mustun.
Definition: RRunner.h:34