#pragmaonce#include<QObject>#include<QApplication>#include<QtNetwork/QLocalServer>#include<QWidget>classSingleApp:publicQApplication{Q_OBJECTpublic:explicitSingleApp(int&argc,char**argv);boolisRunning();QWidget*w;privateslots:voidnewLocalConnection();private: