#ifndef APPLICATION_H #define APPLICATION_H #include #include class Application : public QApplication { Q_OBJECT public: Application(int &argc, char **argv); ~Application(); bool lock(); private: QSharedMemory *m_single; }; #endif // APPLICATION_H