From kde-commits Thu May 20 17:27:09 2004 From: Luciano Montanaro Date: Thu, 20 May 2004 17:27:09 +0000 To: kde-commits Subject: kdenox/konq-embed/dropin Message-Id: <20040520172709.6745D9321 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=108507403702366 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) {