CCIMXDesktop
 
Loading...
Searching...
No Matches
InterfacesQuery Class Reference

The InterfacesQuery class query the netcard info, if you want to specify query way, modify the class for direct. More...

#include <InterfacesQuery.h>

Inheritance diagram for InterfacesQuery:

Signals

void network_query_display (const QStringList interfaces)
 network_query_display is just the signals
 

Public Member Functions

 InterfacesQuery (QObject *parent=nullptr)
 InterfacesQuery creator.
 
const QList< QNetworkInterface > & interfaces_cached () const
 interfaces_cached returns the sync query of the netcard interfaces
 
std::optional< QNetworkInterface > from_name_query (const QString &readable_name) const
 from_name_query query from the network card readable name, using in select list widgets
 

Detailed Description

The InterfacesQuery class query the netcard info, if you want to specify query way, modify the class for direct.

Constructor & Destructor Documentation

◆ InterfacesQuery()

InterfacesQuery::InterfacesQuery ( QObject *  parent = nullptr)
explicit

InterfacesQuery creator.

Parameters
parent

Member Function Documentation

◆ from_name_query()

std::optional< QNetworkInterface > InterfacesQuery::from_name_query ( const QString &  readable_name) const

from_name_query query from the network card readable name, using in select list widgets

Parameters
readable_name
Returns

◆ interfaces_cached()

const QList< QNetworkInterface > & InterfacesQuery::interfaces_cached ( ) const
inline

interfaces_cached returns the sync query of the netcard interfaces

Returns
cached_interfaces

◆ network_query_display

void InterfacesQuery::network_query_display ( const QStringList  interfaces)
signal

network_query_display is just the signals

Parameters
interfacesqueried underlevel

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