/
signal_slot.h
1 #ifndef CL_SMOKE_BENCHMARK_SIGNAL_SLOT_H
2 #define CL_SMOKE_BENCHMARK_SIGNAL_SLOT_H
3
4 #include <QObject>
5
6 class signal_object : public QObject
7 {
8 Q_OBJECT
9 public:
10 void
11 emit_my_signal()
12 { emit my_signal(); }
13
14 signals:
15 void
16 my_signal();
17
18 public slots:
19 void
20 my_slot();
21 };
22
23 #endif // CL_SMOKE_BENCHMARK_SIGNAL_SLOT_H