Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Static Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
GLibMainloopOnQEventLoop Class Reference

Integrates the GLib main loop with the Qt event loop. More...

#include <glib_mainloop_on_qeventloop.h>

Inheritance diagram for GLibMainloopOnQEventLoop:

Static Public Member Functions

static void setup (QObject *parent)
 Sets up and initializes the GLib main loop integration.
 

Protected Slots

void checkAndDispatch ()
 Slot triggered to check and dispatch pending GLib events on the Qt main thread.
 

Protected Member Functions

 GLibMainloopOnQEventLoop (QObject *parent)
 Constructs a new GLibMainloopOnQEventLoop.
 
 ~GLibMainloopOnQEventLoop ()
 Destroys the GLibMainloopOnQEventLoop.
 

Protected Attributes

GLibPoller poller_
 

Detailed Description

Integrates the GLib main loop with the Qt event loop.

Constructor & Destructor Documentation

◆ GLibMainloopOnQEventLoop()

GLibMainloopOnQEventLoop::GLibMainloopOnQEventLoop ( QObject *  parent)
explicitprotected

Constructs a new GLibMainloopOnQEventLoop.

Parameters
parentThe parent QObject.

Member Function Documentation

◆ setup()

void GLibMainloopOnQEventLoop::setup ( QObject *  parent)
static

Sets up and initializes the GLib main loop integration.

Parameters
parentThe parent QObject to own the integration instance.

Member Data Documentation

◆ poller_

GLibPoller GLibMainloopOnQEventLoop::poller_
protected

The poller thread managing the GLib context.


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