Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F626159
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
557 B
Referenced Files
None
Subscribers
None
singleapplication.h
View Options
#ifndef APPLICATION_H
#define APPLICATION_H
#include
"localserver.h"
#include
<QGuiApplication>
#include
<QLocalSocket>
/**
* @brief The Application class handles trivial application initialization procedures
*/
class
SingleApplication
:
public
QGuiApplication
{
Q_OBJECT
public
:
explicit
SingleApplication
(
int
,
char
*
[]);
~
SingleApplication
();
bool
shouldContinue
();
signals
:
void
showUp
();
private
slots
:
void
slotShowUp
();
private
:
QLocalSocket
*
socket
;
LocalServer
*
server
;
bool
_shouldContinue
;
};
#endif
// APPLICATION_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 12:23 AM (1 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
137432
Default Alt Text
singleapplication.h (557 B)
Attached To
Mode
R64 cKaiser's QSingleApplicaiton
Attached
Detach File
Event Timeline