I hope you don't want to pull my leg. Where is the problem in combining that with normal c++ rules?Qt Code:
{ QString tmp = str; // if you want to ensure all other letters are lowercase: tmp = tmp.toLower(); tmp[0] = str[0].toUpper(); return tmp; }To copy to clipboard, switch view to plain text mode
Bookmarks