![]() |
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>
QQmlSignalNames contains a list of helper methods to manipulate signal names. Always try to use the most specific one, as combining them might lead to incorrect results like wrong upper/lower case, for example.
Definition at line 28 of file qqmlsignalnames_p.h.
|
static |
Concatenate a prefix to a property name and uppercases the first letter of the property name.
Definition at line 84 of file qqmlsignalnames.cpp.
|
static |
Returns a signal name from handlerName string. Do not use it on changed handlers, see changedHandlerNameToSignalName for that! Accepts improperly capitalized handler names and incorrectly resolves signal names that start with '_' or '$'.
Definition at line 198 of file qqmlsignalnames.cpp.
|
static |
Returns a property name from changedHandler. This fails for property names starting with an upper-case letter, as it will lower-case it in the process.
Definition at line 144 of file qqmlsignalnames.cpp.
|
static |
|
static |
Returns a signal name from changedHandlerName string. Makes sure not to lowercase the 'C' from Changed.
Definition at line 216 of file qqmlsignalnames.cpp.
|
static |
Obtain a propertyName from its changed signal handler. Do not call this on a value obtained from handlerNameToSignalName! Instead use changedHandlerNameToPropertyName() directly. Otherwise you might end up with a wrong capitalization of _Changed for "on_Changed", for example.
Definition at line 128 of file qqmlsignalnames.cpp.
|
static |
Definition at line 133 of file qqmlsignalnames.cpp.
|
static |
Returns a signal name from handlerName string. Do not use it on changed handlers, see changedHandlerNameToSignalName for that!
Definition at line 187 of file qqmlsignalnames.cpp.
|
static |
Definition at line 232 of file qqmlsignalnames.cpp.
|
static |
Definition at line 221 of file qqmlsignalnames.cpp.
|
static |
Definition at line 246 of file qqmlsignalnames.cpp.
|
static |
Definition at line 101 of file qqmlsignalnames.cpp.
|
static |
Definition at line 91 of file qqmlsignalnames.cpp.
|
static |
Definition at line 96 of file qqmlsignalnames.cpp.
|
static |
Definition at line 155 of file qqmlsignalnames.cpp.