You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
512 B
C
24 lines
512 B
C
3 weeks ago
|
#ifndef NMSINGALCENTER_H
|
||
|
#define NMSINGALCENTER_H
|
||
|
|
||
|
#include <QObject>
|
||
|
#include "nmData_global.h"
|
||
|
|
||
|
class NM_DATA_EXPORT nmSingalCenter : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
signals:
|
||
|
void sigDeleteWell(QString wellID);
|
||
|
public:
|
||
|
explicit nmSingalCenter(QObject *parent = nullptr);
|
||
|
// 获取对象,单例模式
|
||
|
static nmSingalCenter* getInstance();
|
||
|
|
||
|
// 触发删除井的信号
|
||
|
void emitSigDeleteWell(QString wellID);
|
||
|
private:
|
||
|
static nmSingalCenter* s_instance;
|
||
|
};
|
||
|
|
||
|
#endif // NMSINGALCENTER_H
|