19 auto curOffset = m_data;
22 ret.push_back({curOffset, curLength});
23 curOffset = m_data +
offset + 1;
30 ret.push_back({curOffset, curLength});
37 return view.endsWith(
s);
43 return view.startsWith(
s);
49 return view.indexOf(
c, from);
56 return QString(m_data, m_length);
Q_AUTOTEST_EXPORT QString toUtf16() const
void writeUtf16(QChar *) const
bool startsWith(const QString &) const
int indexOf(const QChar &, int from=0) const
QVector< QHashedStringRef > split(const QChar sep) const
QHashedStringRef mid(int, int) const
bool endsWith(const QString &) const
\macro QT_RESTRICTED_CAST_FROM_ASCII
QChar * data()
Returns a pointer to the data stored in the QString.
void resize(qsizetype size)
Sets the size of the string to size characters.
Combined button and popup list for selecting options.
GLenum GLuint GLenum GLsizei length
GLenum GLuint GLintptr offset
static constexpr QChar sep