#ifndef BRIDGESGL_H #define BRIDGESGL_H #include #define BDGSGL BridgeSGL::instance() class BridgeSGL:public QObject { Q_OBJECT public: static BridgeSGL* instance(); signals: void addZAAxisCPosSGL(QString textValue,double value); void deleteZAAxisCPosSGL(QString value); void ZAAxisCPosListChangedSGL(QStringList value); private: BridgeSGL(); BridgeSGL(BridgeSGL const&) = delete; BridgeSGL& operator = (BridgeSGL const&) = delete; protected: static BridgeSGL* uniqueInstance; }; #endif // BRIDGESGL_H