Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QProcessEnvironmentPrivate Class Reference

#include <qprocess_p.h>

Inheritance diagram for QProcessEnvironmentPrivate:
Collaboration diagram for QProcessEnvironmentPrivate:

Classes

struct  NameMapMutexLocker
struct  OrderedNameMapMutexLocker

Public Types

typedef QProcEnvKey Key
typedef QProcEnvValue Value
using Map = QMap<Key, Value>

Public Member Functions

Key prepareName (const QString &name) const
QString nameToString (const Key &name) const
Value prepareValue (const QString &value) const
QString valueToString (const Value &value) const
 QProcessEnvironmentPrivate ()
 QProcessEnvironmentPrivate (const QProcessEnvironmentPrivate &other)
QStringList toList () const
QStringList keys () const
void insert (const QProcessEnvironmentPrivate &other)
Public Member Functions inherited from QSharedData
 QSharedData () noexcept
 Constructs a QSharedData object with a reference count of 0.
 QSharedData (const QSharedData &) noexcept
 Constructs a QSharedData object with reference count 0.
QSharedDataoperator= (const QSharedData &)=delete
 ~QSharedData ()=default

Static Public Member Functions

static QProcessEnvironment fromList (const QStringList &list)

Public Attributes

Map vars
Public Attributes inherited from QSharedData
QAtomicInt ref

Detailed Description

Definition at line 104 of file qprocess_p.h.

Member Typedef Documentation

◆ Key

Definition at line 107 of file qprocess_p.h.

◆ Map

Definition at line 163 of file qprocess_p.h.

◆ Value

Definition at line 108 of file qprocess_p.h.

Constructor & Destructor Documentation

◆ QProcessEnvironmentPrivate() [1/2]

QProcessEnvironmentPrivate::QProcessEnvironmentPrivate ( )
inline

Definition at line 147 of file qprocess_p.h.

◆ QProcessEnvironmentPrivate() [2/2]

QProcessEnvironmentPrivate::QProcessEnvironmentPrivate ( const QProcessEnvironmentPrivate & other)
inline

Definition at line 148 of file qprocess_p.h.

References QProcessEnvironmentPrivate::NameMapMutexLocker::NameMapMutexLocker(), and QProcessEnvironmentPrivate().

Referenced by QProcessEnvironmentPrivate().

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

Member Function Documentation

◆ fromList()

QProcessEnvironment QProcessEnvironmentPrivate::fromList ( const QStringList & list)
static

Definition at line 71 of file qprocess.cpp.

◆ insert()

void QProcessEnvironmentPrivate::insert ( const QProcessEnvironmentPrivate & other)

Definition at line 100 of file qprocess.cpp.

◆ keys()

QStringList QProcessEnvironmentPrivate::keys ( ) const

Definition at line 89 of file qprocess.cpp.

◆ nameToString()

QString QProcessEnvironmentPrivate::nameToString ( const Key & name) const
inline

Definition at line 135 of file qprocess_p.h.

References QProcessEnvironmentPrivate::NameMapMutexLocker::NameMapMutexLocker().

Here is the call graph for this function:

◆ prepareName()

Key QProcessEnvironmentPrivate::prepareName ( const QString & name) const
inline

Definition at line 127 of file qprocess_p.h.

References QProcessEnvironmentPrivate::NameMapMutexLocker::NameMapMutexLocker().

Here is the call graph for this function:

◆ prepareValue()

Value QProcessEnvironmentPrivate::prepareValue ( const QString & value) const
inline

Definition at line 144 of file qprocess_p.h.

◆ toList()

QStringList QProcessEnvironmentPrivate::toList ( ) const

Definition at line 62 of file qprocess.cpp.

◆ valueToString()

QString QProcessEnvironmentPrivate::valueToString ( const Value & value) const
inline

Definition at line 145 of file qprocess_p.h.

Member Data Documentation

◆ vars

Map QProcessEnvironmentPrivate::vars

Definition at line 164 of file qprocess_p.h.


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