Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QtSingleApplication Class Reference

#include <qtsingleapplication.h>

Inheritance diagram for QtSingleApplication:
Inheritance graph

Public Slots

bool sendMessage (const QString &message, int timeout=5000)
 
void activateWindow ()
 

Signals

void messageReceived (const QString &message)
 

Public Member Functions

 QtSingleApplication (int &argc, char **argv, bool GUIenabled=true)
 
 QtSingleApplication (const QString &id, int &argc, char **argv)
 
 QtSingleApplication (int &argc, char **argv, Type type)
 
bool isRunning ()
 
QString id () const
 
void setActivationWindow (QWidget *aw, bool activateOnMessage=true)
 
QWidgetactivationWindow () const
 
void initialize (bool dummy=true)
 

Private Member Functions

void sysInit (const QString &appId=QString())
 

Private Attributes

QtLocalPeerpeer
 
QWidgetactWin
 

Constructor & Destructor Documentation

QtSingleApplication::QtSingleApplication ( int &  argc,
char **  argv,
bool  GUIenabled = true 
)
QtSingleApplication::QtSingleApplication ( const QString &  id,
int &  argc,
char **  argv 
)
QtSingleApplication::QtSingleApplication ( int &  argc,
char **  argv,
Type  type 
)

Member Function Documentation

void QtSingleApplication::activateWindow ( )
slot
QWidget* QtSingleApplication::activationWindow ( ) const
QString QtSingleApplication::id ( ) const
void QtSingleApplication::initialize ( bool  dummy = true)
inline
bool QtSingleApplication::isRunning ( )
void QtSingleApplication::messageReceived ( const QString &  message)
signal
bool QtSingleApplication::sendMessage ( const QString &  message,
int  timeout = 5000 
)
slot
void QtSingleApplication::setActivationWindow ( QWidget aw,
bool  activateOnMessage = true 
)
void QtSingleApplication::sysInit ( const QString &  appId = QString())
private

Member Data Documentation

QWidget* QtSingleApplication::actWin
private
QtLocalPeer* QtSingleApplication::peer
private

The documentation for this class was generated from the following file: