Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F627947
singleapplication.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
558 B
Referenced Files
None
Subscribers
None
singleapplication.h
View Options
#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
Details
Attached
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)
Attached To
Mode
R64 cKaiser's QSingleApplicaiton
Attached
Detach File
Event Timeline