Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QProcEnvValue Class Reference

#include <qprocess_p.h>

+ Collaboration diagram for QProcEnvValue:

Public Member Functions

 QProcEnvValue ()=default
 
 QProcEnvValue (const QString &value)
 
 QProcEnvValue (const QByteArray &value)
 
bool operator== (const QProcEnvValue &other) const
 
QByteArray bytes () const
 
QString string () const
 

Public Attributes

QByteArray byteValue
 
QString stringValue
 

Detailed Description

Definition at line 72 of file qprocess_p.h.

Constructor & Destructor Documentation

◆ QProcEnvValue() [1/3]

QProcEnvValue::QProcEnvValue ( )
default

◆ QProcEnvValue() [2/3]

QProcEnvValue::QProcEnvValue ( const QString & value)
inlineexplicit

Definition at line 76 of file qprocess_p.h.

◆ QProcEnvValue() [3/3]

QProcEnvValue::QProcEnvValue ( const QByteArray & value)
inlineexplicit

Definition at line 77 of file qprocess_p.h.

Member Function Documentation

◆ bytes()

QByteArray QProcEnvValue::bytes ( ) const
inline

Definition at line 84 of file qprocess_p.h.

References byteValue, QByteArray::isEmpty(), QString::isEmpty(), stringValue, and QString::toLocal8Bit().

Referenced by operator==().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator==()

bool QProcEnvValue::operator== ( const QProcEnvValue & other) const
inline

Definition at line 78 of file qprocess_p.h.

References bytes(), byteValue, QByteArray::isEmpty(), other(), and stringValue.

+ Here is the call graph for this function:

◆ string()

QString QProcEnvValue::string ( ) const
inline

Definition at line 90 of file qprocess_p.h.

References byteValue, QString::fromLocal8Bit(), QByteArray::isEmpty(), QString::isEmpty(), and stringValue.

+ Here is the call graph for this function:

Member Data Documentation

◆ byteValue

QByteArray QProcEnvValue::byteValue
mutable

Definition at line 97 of file qprocess_p.h.

Referenced by bytes(), operator==(), and string().

◆ stringValue

QString QProcEnvValue::stringValue
mutable

Definition at line 98 of file qprocess_p.h.

Referenced by bytes(), operator==(), and string().


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