#include "../global.h"
#include <QtGlobal>
#include <QStringView>
Go to the source code of this file.
|
StringView | QtUtilities::makeStringView (const QString &str) |
| Makes either a QStringView or a QStringRef depending on the Qt version. More...
|
|
StringView | QtUtilities::midRef (const QString &str, int pos, int n=-1) |
| Makes either a QStringView or a QStringRef depending on the Qt version, applying "mid()" parameters. More...
|
|
template<class... SplitArgs> |
auto | QtUtilities::splitRef (const QString &str, SplitArgs &&...args) |
| Splits str into QStringViews, QStringRefs or QStrings depending on the Qt version. More...
|
|
◆ QT_UTILITIES_USE_Q_STRING_VIEW
#define QT_UTILITIES_USE_Q_STRING_VIEW |