Page MenuHomePhabricator (Chris)

singleapplication.h
No OneTemporary

Authored By
Unknown
Size
558 B
Referenced Files
None
Subscribers
None

singleapplication.h

#ifndef SINGLE_APPLICATION_H
#define SINGLE_APPLICATION_H
#include <QApplication>
#include <QLocalSocket>
#include <QLocalServer>
/**
* @brief The SingleApplication class handles multipe instances of the same Application
* @see QApplication
*/
class SingleApplication : public QApplication
{
Q_OBJECT
public:
explicit SingleApplication(int, char *[]);
~SingleApplication();
signals:
void showUp();
private slots:
void slotConnectionEstablished();
private:
QLocalSocket *socket;
QLocalServer *server;
};
#endif // SINGLE_APPLICATION_H

File Metadata

Mime Type
text/x-c++
Expires
Sun, Nov 15, 3:03 AM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
132155
Default Alt Text
singleapplication.h (558 B)

Event Timeline