|
QGIS API Documentation 4.3.0-Master (16eddb2670e)
|
#include "qgis_core.h"#include <QtEndian>

Go to the source code of this file.
Macros | |
| #define | SIP_NO_FILE |
Functions | |
| ushort | encodeNibble (ushort c) |
| QString CORE_EXPORT | fromEncodedComponent_helper (const QByteArray &ba) |
| char | toHexUpper (uint value) noexcept |
| #define SIP_NO_FILE |
Definition at line 23 of file fromencodedcomponenthelper.h.
|
inline |
Definition at line 34 of file fromencodedcomponenthelper.h.
| QString CORE_EXPORT fromEncodedComponent_helper | ( | const QByteArray & | ba | ) |
ba contains an 8-bit form of the component and it might be percent-encoded already. We can't use QString::fromUtf8 because it might contain non-UTF8 sequences. We can't use QByteArray::toPercentEncoding because it might already contain percent-encoded sequences. We can't use qt_urlRecode because it needs UTF-16 input.
This method is named qt_urlRecodeByteArray in Qt's internals
Definition at line 57 of file fromencodedcomponenthelper.cpp.
|
inlinenoexcept |
Definition at line 29 of file fromencodedcomponenthelper.h.