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
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 103 of file qprocess_p.h.

Member Typedef Documentation

◆ Key

Definition at line 106 of file qprocess_p.h.

◆ Map

Definition at line 162 of file qprocess_p.h.

◆ Value

Definition at line 107 of file qprocess_p.h.

Constructor & Destructor Documentation

◆ QProcessEnvironmentPrivate() [1/2]

QProcessEnvironmentPrivate::QProcessEnvironmentPrivate ( )
inline

Definition at line 146 of file qprocess_p.h.

◆ QProcessEnvironmentPrivate() [2/2]

QProcessEnvironmentPrivate::QProcessEnvironmentPrivate ( const QProcessEnvironmentPrivate & other)
inline

Definition at line 147 of file qprocess_p.h.

References other().

+ Here is the call graph for this function:

Member Function Documentation

◆ fromList()

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

Definition at line 71 of file qprocess.cpp.

References QList< T >::constBegin(), QList< T >::constEnd(), QProcessEnvironment::insert(), it, list, and pos.

+ Here is the call graph for this function:

◆ insert()

void QProcessEnvironmentPrivate::insert ( const QProcessEnvironmentPrivate & other)

Definition at line 100 of file qprocess.cpp.

References QMap< Key, T >::insert(), it, other(), and vars.

Referenced by QProcessEnvironment::insert().

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

◆ keys()

QStringList QProcessEnvironmentPrivate::keys ( ) const

Definition at line 89 of file qprocess.cpp.

References QMap< Key, T >::constBegin(), QMap< Key, T >::constEnd(), it, nameToString(), QMap< Key, T >::size(), and vars.

Referenced by QProcessEnvironment::keys().

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

◆ nameToString()

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

Definition at line 134 of file qprocess_p.h.

References QString::fromLocal8Bit().

Referenced by keys(), and toList().

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

◆ prepareName()

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

Definition at line 126 of file qprocess_p.h.

Referenced by QProcessEnvironment::contains(), QProcessEnvironment::insert(), and QProcessEnvironment::value().

+ Here is the caller graph for this function:

◆ prepareValue()

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

Definition at line 143 of file qprocess_p.h.

Referenced by QProcessEnvironment::insert().

+ Here is the caller graph for this function:

◆ toList()

QStringList QProcessEnvironmentPrivate::toList ( ) const

Definition at line 62 of file qprocess.cpp.

References QMap< Key, T >::cbegin(), QMap< Key, T >::cend(), it, nameToString(), QMap< Key, T >::size(), valueToString(), and vars.

Referenced by QProcessEnvironment::toStringList().

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

◆ valueToString()

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

Definition at line 144 of file qprocess_p.h.

Referenced by toList(), and QProcessEnvironment::value().

+ Here is the caller graph for this function:

Member Data Documentation

◆ vars


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