The QTime class definition contains:
What is the meaning of ds and mds? I can see that mds stores the internal representation of the time in milliseconds, and that ds() returns it to the class members (because it's private) but I do not make any sense of the names. What is the "d" doing there? Does anyone know?Qt Code:
inline int ds() const { return mds == -1 ? 0 : mds; } int mds;To copy to clipboard, switch view to plain text mode
int toms() and int myms would be more sensible names IMHO.
Bookmarks