On Mon, Oct 17, 2011 at 08:54:47PM +0200, ext Thiago Macieira wrote: > On Monday, 17 de October de 2011 19:33:07 Oswald Buddenhagen wrote: > > On Mon, Oct 17, 2011 at 02:55:53PM +0200, Knoll Lars (Nokia-MP-Qt/Oslo) > wrote: > > > Why would we want to add a wrapper for char's? > > > > why again do we have a wrapper for ushort called QChar? after all, some > > global functions operating on ushort would do. ;) > > What functions do you want to have on QByte? > for symmetry with QChar: data(). well, except that QChar has unicode() instead. *grumble*. but QString has both, aliased to each other.
> > one of the advantages of a unified codebase would be making an end to > > qbytearray constantly lagging behind qstring in api for no good reason. > > The good reason is that it's not a string. It's a sequence of arbitrary bytes > which are not a string. > uhm, no. in qt 4, qbytearray was turned into a fully-fledged string class, to replace QCString. > What methods are you missing in QByteArray that QString has? > lots. well, a lot was synchronized over time, but we always have the same problem when something new is added or some change (often an optimization) is made. _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
