-
Notifications
You must be signed in to change notification settings - Fork 0
1.01
Comment: Maybe this could be more general as well: String handling and value types
Explanation of the contents of a topic page @ Week 1 Topic 1
Objective: Basic string manipulation (min: QString + QChar + QCodec, creating, concatenation + light-weight use with QLatin1String (or QStringView this one may be omitted)
Comment: There is no String type in Qt, so should be written on lower-case (E: I'll leave this here for reference. Actually I'll just leave all the comments here for reference, comment on them myself so the dialogue stays somewhere. I didn't do that for 1.00 but it will probably be a better idea to just leave all the comments on the topic content pages for future references.)
Comment: This is a huge topic and I'd try to avoid losing attendees' interest at the beginning. The minimum: QString + QChar + QCodec, creating, concatenation + light-weight use with QLatin1String or QStringView (the latter can be omitted). String literals could be already another topic. And QByteArray is relevant in cases, where coding is not needed. I'm afraid this is too much for one section, isn't it.
E: Ill bump String Literals and QStringView into the expert section and include them if it seems feasible after everything else has been seen to.
- What is QString?
- QString vs QByteArray?
- How does std::string/c string compare to QString?
- How do you compare and manipulate strings efficiently (QLatin1String, QStringRef, ((QStringView)))?
- What are value types in Qt?
- What is QStringLiteral?
- What is QStringView?
QString
QString vs QByteArray
std::string/c string vs QString
Comparing and manipulating strings efficiently
Value types in Qt