CVS commit by montanaro: Added KURL debugging, for kdelibs 3.2 M +8 -1 kdebug.cpp 1.5 M +3 -1 kdebug.h 1.8 --- kdenox/konq-embed/dropin/kdebug.h #1.7:1.8 @@ -131,4 +131,6 @@ class kdbgstream { */ kdbgstream& operator << (QWidget* widget); + + kdbgstream& operator << (const KURL& url); private: QString output; --- kdenox/konq-embed/dropin/kdebug.cpp #1.4:1.5 @@ -48,4 +48,6 @@ #include +#include + enum DebugLevels { KDEBUG_INFO= 0, @@ -238,4 +240,9 @@ kdbgstream::~kdbgstream() { } +kdbgstream& kdbgstream::operator<<( const KURL& u ) { + *this << u.prettyURL(); + return *this; +} + kdbgstream& kdbgstream::operator << (QWidget* widget) {