long long support for kdDebug

Shaheed srhaque at iee.org
Sat Dec 27 09:40:19 GMT 2003

On Friday 26 December 2003 17:53, Bernhard Rosenkraenzer wrote:
> The attached (trivial) patch adds long long/unsigned long long support to
> kdDebug if Qt >= 3.3 (qt-copy) is used.
> It's fairly important because QFile::size() among others can return long
> longs these days...

Just a thought. Would it not make sense to convert all these routines to use 
Q_INTxx AND Q_UINTxx? It would make no difference to the callers, but the 
design intent would be clear.

After all, "long long" is no more guaranteed to be 64 bit than "int" is 
guaranteed to be 32. The Qt types are there for portability, and we may as 
well use them.

Thanks, Shaheed

More information about the kde-core-devel mailing list