![]() |
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 29 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 85 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 199 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 145 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 217 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 129 of file qqmlsignalnames.cpp.
|
static |
Definition at line 134 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 188 of file qqmlsignalnames.cpp.
|
static |
Definition at line 233 of file qqmlsignalnames.cpp.
|
static |
Definition at line 222 of file qqmlsignalnames.cpp.
|
static |
Definition at line 247 of file qqmlsignalnames.cpp.
|
static |
Definition at line 102 of file qqmlsignalnames.cpp.
|
static |
Definition at line 92 of file qqmlsignalnames.cpp.
|
static |
Definition at line 97 of file qqmlsignalnames.cpp.
|
static |
Definition at line 156 of file qqmlsignalnames.cpp.