mirror of
https://gitlab.com/eql/lqml.git
synced 2026-03-14 02:32:19 -07:00
23 lines
274 B
C++
23 lines
274 B
C++
#pragma once
|
|
|
|
#undef SLOT
|
|
|
|
#include <ecl/ecl.h>
|
|
#include <QObject>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class SingleShot : public QObject {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
int id;
|
|
void* function;
|
|
|
|
SingleShot(int, void*);
|
|
|
|
protected:
|
|
void timerEvent(QTimerEvent*) override;
|
|
};
|
|
|
|
QT_END_NAMESPACE
|