QString toLower is a function in the Qt library that converts all the letters in a QString to lowercase. This function does not modify the original QString, but returns a new string with all the letters in lowercase.
Example Code:
#include #include
int main() { QString exampleString = "HELLO WORLD";
// Converting all characters to lowercase QString lowerString = exampleString.toLower();
Original String: HELLO WORLD Lowercase String: hello world
In this example code, the QString "HELLO WORLD" is converted to all lowercase using the toLower function. The output shows the original string and the new lowercase string.
Package Library:
QString toLower is part of the Qt library. It can be found in the QString class in the QtCore module.
C++ (Cpp) QString::toLower - 30 examples found. These are the top rated real world C++ (Cpp) examples of QString::toLower from package zpugcc extracted from open source projects. You can rate examples to help us improve the quality of examples.