Falkon Develop
Cross-platform Qt-based web browser
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 QString &message, int timeout)
 
QString applicationId () const
 
void removeLockedFile ()
 

Protected Slots

void receiveConnection ()
 

Protected Attributes

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

Detailed Description

Definition at line 50 of file qtlocalpeer.h.

Constructor & Destructor Documentation

◆ QtLocalPeer()

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

Definition at line 103 of file qtlocalpeer.cpp.

Member Function Documentation

◆ applicationId()

QString QtLocalPeer::applicationId ( ) const
inline

Definition at line 58 of file qtlocalpeer.h.

◆ isClient()

bool QtLocalPeer::isClient ( )

Definition at line 158 of file qtlocalpeer.cpp.

◆ messageReceived

void QtLocalPeer::messageReceived ( const QString &  message)
signal

◆ receiveConnection

void QtLocalPeer::receiveConnection ( )
protectedslot

Definition at line 239 of file qtlocalpeer.cpp.

◆ removeLockedFile()

void QtLocalPeer::removeLockedFile ( )

Definition at line 232 of file qtlocalpeer.cpp.

◆ sendMessage()

bool QtLocalPeer::sendMessage ( const QString &  message,
int  timeout 
)

Definition at line 188 of file qtlocalpeer.cpp.

Member Data Documentation

◆ id

QString QtLocalPeer::id
protected

Definition at line 69 of file qtlocalpeer.h.

◆ lockFile

QtLP_Private::QtLockedFile QtLocalPeer::lockFile
protected

Definition at line 72 of file qtlocalpeer.h.

◆ server

QLocalServer* QtLocalPeer::server
protected

Definition at line 71 of file qtlocalpeer.h.

◆ socketName

QString QtLocalPeer::socketName
protected

Definition at line 70 of file qtlocalpeer.h.


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