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
QGString Struct Reference

#include <qgst_p.h>

+ Inheritance diagram for QGString:
+ Collaboration diagram for QGString:

Public Member Functions

QLatin1StringView asStringView () const
 
QString toQString () const
 
- Public Member Functions inherited from QUniqueHandle< HandleTraits >
 QUniqueHandle ()=default
 
 QUniqueHandle (const Type &handle) noexcept
 
 QUniqueHandle (QUniqueHandle &&other) noexcept
 
 ~QUniqueHandle () noexcept
 
QUniqueHandleoperator= (QUniqueHandle &&rhs) noexcept
 
 QUniqueHandle (const QUniqueHandle &)=delete
 
QUniqueHandleoperator= (const QUniqueHandle &)=delete
 
bool isValid () const noexcept
 
 operator bool () const noexcept
 
Type get () const noexcept
 
void reset (const Type &handle) noexcept
 
Type release () noexcept
 
Typeoperator& () noexcept
 
void close () noexcept
 

Additional Inherited Members

- Public Types inherited from QUniqueHandle< HandleTraits >
using Type = typename HandleTraits::Type
 

Detailed Description

Definition at line 177 of file qgst_p.h.

Member Function Documentation

◆ asStringView()

QLatin1StringView QGString::asStringView ( ) const
inline

Definition at line 181 of file qgst_p.h.

References QUniqueHandle< HandleTraits >::get().

+ Here is the call graph for this function:

◆ toQString()

QString QGString::toQString ( ) const
inline

Definition at line 182 of file qgst_p.h.

References QString::fromUtf8(), and QUniqueHandle< HandleTraits >::get().

+ Here is the call graph for this function:

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