Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
PhosphorIpc::IpcTarget Class Reference

#include <PhosphorIpc/IpcTarget.h>

Inheritance diagram for PhosphorIpc::IpcTarget:
[legend]

Signals

void targetChanged ()

Public Member Functions

 IpcTarget (QObject *parent=nullptr)
 ~IpcTarget () override
QString target () const
void setTarget (const QString &name)
void emitEvent (const QString &signalName, const QVariantList &args={})
void sendErrorReply (const QString &message)
void classBegin () override
void componentComplete () override

Additional Inherited Members

Protected Member Functions inherited from PhosphorIpc::IpcCallContext
 IpcCallContext ()=default
 IpcCallContext (const IpcCallContext &)=delete
IpcCallContext & operator= (const IpcCallContext &)=delete
bool calledFromIpc () const
void sendErrorReply (const QString &message)
quint64 connectionId () const
qint64 connectionPid () const
IpcPendingReply deferReply ()
virtual ~IpcCallContext ()

Constructor & Destructor Documentation

◆ IpcTarget()

PhosphorIpc::IpcTarget::IpcTarget ( QObject * parent = nullptr)
explicit

◆ ~IpcTarget()

PhosphorIpc::IpcTarget::~IpcTarget ( )
override

Member Function Documentation

◆ classBegin()

void PhosphorIpc::IpcTarget::classBegin ( )
override

◆ componentComplete()

void PhosphorIpc::IpcTarget::componentComplete ( )
override

◆ emitEvent()

void PhosphorIpc::IpcTarget::emitEvent ( const QString & signalName,
const QVariantList & args = {} )

◆ sendErrorReply()

void PhosphorIpc::IpcTarget::sendErrorReply ( const QString & message)

◆ setTarget()

void PhosphorIpc::IpcTarget::setTarget ( const QString & name)

◆ target()

QString PhosphorIpc::IpcTarget::target ( ) const
nodiscard

◆ targetChanged

void PhosphorIpc::IpcTarget::targetChanged ( )
signal

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