Miam-Player  0.8.0
A nice music player
QtLocalPeer Class Reference

#include <qtlocalpeer.h>

Inheritance diagram for QtLocalPeer:

Signals

void messageReceived (const QString &message)
 

Public Member Functions

 QtLocalPeer (QObject *parent=nullptr, const QString &appId=QString())
 
bool isClient ()
 
bool sendMessage (const QStringList &args, int timeout)
 
bool sendMessage (const QString &message, int timeout)
 
QString applicationId () const
 

Protected Slots

void receiveConnection ()
 

Protected Attributes

QString id
 
QString socketName
 
QLocalServer * server
 
QtLP_Private::QtLockedFile lockFile
 

Constructor & Destructor Documentation

QtLocalPeer::QtLocalPeer ( QObject *  parent = nullptr,
const QString &  appId = QString() 
)

Member Function Documentation

QString QtLocalPeer::applicationId ( ) const
inline
bool QtLocalPeer::isClient ( )
void QtLocalPeer::messageReceived ( const QString &  message)
signal
void QtLocalPeer::receiveConnection ( )
protectedslot
bool QtLocalPeer::sendMessage ( const QStringList &  args,
int  timeout 
)
bool QtLocalPeer::sendMessage ( const QString &  message,
int  timeout 
)

Member Data Documentation

QString QtLocalPeer::id
protected
QtLP_Private::QtLockedFile QtLocalPeer::lockFile
protected
QLocalServer* QtLocalPeer::server
protected
QString QtLocalPeer::socketName
protected

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