Index: irc/server.cpp =================================================================== --- irc/server.cpp (revision 921903) +++ irc/server.cpp (working copy) @@ -138,7 +138,7 @@ Server::~Server() { //send queued messages - kDebug() << "Server::~Server(" << getServerName() << ")" << endl; + kDebug() << "Server::~Server(" << getServerName() << ")"; // Delete helper object. delete m_serverISON; @@ -185,7 +185,7 @@ emit destroyed(m_connectionId); - kDebug() << "~Server done" << endl; + kDebug() << "~Server done"; } //... so called to match the ChatWindow derivatives. @@ -423,7 +423,7 @@ m_inputFilter.reset(); } else - kDebug() << "connectToIRCServer() called while already connected: This should never happen." << endl; + kDebug() << "connectToIRCServer() called while already connected: This should never happen."; } /* @@ -566,7 +566,7 @@ void Server::broken(QAbstractSocket::SocketError state) { - kDebug() << "Connection broken " << m_socket->errorString() << "!" << endl; + kDebug() << "Connection broken " << m_socket->errorString() << "!"; m_socket->blockSignals(true); @@ -708,7 +708,7 @@ if (res.error() == QHostInfo::NoError && !res.addresses().isEmpty()) m_ownIpByWelcome = res.addresses().first().toString(); else - kDebug() << "Server::gotOwnResolvedHostByWelcome(): Got error: " << res.errorString() << endl; + kDebug() << "Got error: " << res.errorString(); } void Server::quitServer() @@ -1478,7 +1478,7 @@ void Server::closeChannel(const QString& name) { - kDebug() << "Server::closeChannel(" << name << ")" << endl; + kDebug() << "Server::closeChannel(" << name << ")"; Channel* channelToClose = getChannelByName(name); if(channelToClose) @@ -1635,7 +1635,7 @@ { if (transfer->getConnectionId() == connectionId() ) { - kDebug() << "Server::slotNewDccTranfserItemQueued(): connecting slots for " << transfer->getFileName() << " [" << transfer->getType() << "]" << endl; + kDebug() << "connecting slots for " << transfer->getFileName() << " [" << transfer->getType() << "]"; if ( transfer->getType() == DccTransfer::Receive ) { connect( transfer, SIGNAL( done( DccTransfer* ) ), this, SLOT( dccGetDone( DccTransfer* ) ) ); @@ -2013,14 +2013,14 @@ /* if(parameter.isEmpty()) { - kDebug() << "in updateChannelMode, a nick with no-name has had their mode '" << mode << "' changed to (" < (Preferences::self()->maximumLagTime() * 1000)) m_socket->close(); Index: irc/channelnick.cpp =================================================================== --- irc/channelnick.cpp (revision 921903) +++ irc/channelnick.cpp (working copy) @@ -223,7 +223,7 @@ tooltip << "" << i18n("Mode") << ": " << modes.join(", ") << ""; } tooltip << ""; - //kDebug() << strTooltip << endl; + //kDebug() << strTooltip ; //if(!dirty) return QString(); return strTooltip; } Index: dbus.cpp =================================================================== --- dbus.cpp (revision 921903) +++ dbus.cpp (working copy) @@ -38,7 +38,7 @@ void DBus::raw(const QString& server,const QString& command) { - kDebug() << "DBus::raw()" << endl; + kDebug(); // send raw IRC protocol data emit dcopRaw(server,command); } @@ -107,7 +107,7 @@ // TODO: this just masks a greater problem - Server::addQuery will return a query for '' --argonel // TODO: other DCOP calls need argument checking too --argonel if (server.isEmpty() || target.isEmpty() || command.isEmpty()) - kDebug() << "DBus::say() requires 3 arguments." << endl; + kDebug() << "DBus::say() requires 3 arguments."; else { command.replace('\n',"\\n"); @@ -123,19 +123,19 @@ void DBus::info(const QString& string) { - kDebug() << "DBus::info()" << endl; + kDebug(); emit dcopInfo(string); } void DBus::debug(const QString& string) { - kDebug() << "DBus::debug()" << endl; + kDebug(); emit dcopInfo(QString("Debug: %1").arg(string)); } void DBus::error(const QString& string) { - kDebug() << "DBus::error()" << endl; + kDebug(); emit dcopInfo(QString("Error: %1").arg(string)); } Index: urlcatcher.cpp =================================================================== --- urlcatcher.cpp (revision 921903) +++ urlcatcher.cpp (working copy) @@ -151,7 +151,7 @@ QStringList cmdAndArgs = KShell::splitArgs(cmd); *proc << cmdAndArgs; // This code will also work, but starts an extra shell process. - // kDebug() << "UrlCatcher::openUrl(): cmd = " << cmd << endl; + // kDebug() "cmd = " << cmd; // *proc << cmd; // proc->setUseShell(true); proc->startDetached();