![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qqmlsignalnames_p.h"
#include <iterator>
#include <algorithm>
#include <optional>
#include <string>
Go to the source code of this file.
Enumerations | |
enum | ChangeCase { ToUpper , ToLower , ToUpper , ToLower } |
enum | HandlerType { ChangedHandler , Handler , ChangedHandler , Handler } |
enum | ChangeCase { ToUpper , ToLower , ToUpper , ToLower } |
enum | HandlerType { ChangedHandler , Handler , ChangedHandler , Handler } |
Functions | |
static constexpr const QLatin1String | On ("on") |
static constexpr const QLatin1String | Changed ("Changed") |
static std::optional< qsizetype > | firstLetterIdx (QStringView name, qsizetype removePrefix=0, qsizetype removeSuffix=0) |
static std::optional< QChar > | firstLetter (QStringView name, qsizetype removePrefix=0, qsizetype removeSuffix=0) |
static void | changeCaseOfFirstLetter (QString &name, ChangeCase option, qsizetype removePrefix=0, qsizetype removeSuffix=0) |
static std::optional< QString > | toQStringData (std::optional< QStringView > view) |
static QByteArray | toUtf8Data (QUtf8StringView view) |
static std::optional< QByteArray > | toUtf8Data (std::optional< QUtf8StringView > view) |
template<typename View> | |
std::optional< View > | changedSignalNameToPropertyNameTemplate (View changeSignal) |
template<HandlerType type> | |
static std::optional< QString > | handlerNameToSignalNameHelper (QStringView handler) |
Variables | |
static constexpr const qsizetype | StrlenOn = On.length() |
static constexpr const qsizetype | StrlenChanged = Changed.length() |
enum ChangeCase |
Enumerator | |
---|---|
ToUpper | |
ToLower | |
ToUpper | |
ToLower |
Definition at line 40 of file qqmlsignalnames.cpp.
enum ChangeCase |
Enumerator | |
---|---|
ToUpper | |
ToLower | |
ToUpper | |
ToLower |
Definition at line 40 of file qqmlsignalnames.cpp.
enum HandlerType |
Enumerator | |
---|---|
ChangedHandler | |
Handler | |
ChangedHandler | |
Handler |
Definition at line 167 of file qqmlsignalnames.cpp.
enum HandlerType |
Enumerator | |
---|---|
ChangedHandler | |
Handler | |
ChangedHandler | |
Handler |
Definition at line 167 of file qqmlsignalnames.cpp.
|
static |
Definition at line 41 of file qqmlsignalnames.cpp.
References ToUpper.
|
staticconstexpr |
std::optional< View > changedSignalNameToPropertyNameTemplate | ( | View | changeSignal | ) |
Definition at line 107 of file qqmlsignalnames.cpp.
|
static |
Definition at line 32 of file qqmlsignalnames.cpp.
|
static |
Definition at line 20 of file qqmlsignalnames.cpp.
|
static |
Definition at line 170 of file qqmlsignalnames.cpp.
References ChangedHandler, and ToLower.
|
staticconstexpr |
|
static |
Definition at line 52 of file qqmlsignalnames.cpp.
|
static |
Definition at line 59 of file qqmlsignalnames.cpp.
|
static |
Definition at line 64 of file qqmlsignalnames.cpp.
|
staticconstexpr |
Definition at line 18 of file qqmlsignalnames.cpp.
Definition at line 17 of file qqmlsignalnames.cpp.