3 ms·
http://doc.qt.io/qt-4.8/qstring.html#rightJustified http://doc.qt.io/qt-4.8/qstring.html#rightJustified :)
by noobermin 11y ago
http://doc.qt.io/qt-4.8/qstring.html#rightJustified http://doc.qt.io/qt-4.8/qstring.html#rightJustified
:)
- discreteevent 11y agoIt's a method on a QString object? No, no, no! Look at all the other methods on QString, what a mess! What happened to do one thing and do it well? This needs to be in a separate downloadable package. That package could be so simple and minimal. My guess is that these Qt people probably use an IDE and want to be able to immediately see what methods are available in the context of a QString. Then they want code completion as they supply parameters to it. That's so OO. (Ok the method is immutable and composable but its still blatant 90s object orientation)
- guruz 11y agoI can confirm it does not use any external package or webservice in its implementation. https://code.woboq.org/kde/qt4/src/corelib/tools/qstring.cpp.html#_ZNK7QString14rightJustifiedEi5QCharb https://code.woboq.org/kde/qt4/src/corelib/tools/qstring.cpp...