[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/solid/bluez
From:       Juan González Aguilera <kde_devel () opsiland ! info>
Date:       2007-08-31 20:53:10
Message-ID: 1188593590.055147.28616.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 707045 by jaguilera:

Stop filling the console with useless debugging output


 M  +0 -6      bluez-bluetoothinterface.cpp  
 M  +0 -15     bluez-bluetoothremotedevice.cpp  


--- trunk/KDE/kdebase/workspace/solid/bluez/bluez-bluetoothinterface.cpp \
#707044:707045 @@ -20,7 +20,6 @@
 */
 
 #include <QtDBus>
-#include <kdebug.h>
 
 #include <solid/control/bluetoothinterface.h>
 
@@ -119,8 +118,6 @@
 
 int BluezBluetoothInterface::discoverableTimeout() const
 {
-    kDebug() ;
-
     QDBusReply< uint > timeout = d->iface.call("GetDiscoverableTimeout");
     if (timeout.isValid()) {
         return timeout.value();
@@ -292,15 +289,12 @@
 
 void BluezBluetoothInterface::slotRemoteDeviceFound(const QString &address, uint \
deviceClass, short rssi)  {
-    kDebug() << "address: " << address << " class: " << deviceClass << " RSSI: " << \
                rssi;
-
     QString remoteubi = QString("%1/%2").arg(ubi()).arg(address);
     emit remoteDeviceFound(remoteubi, deviceClass, rssi);
 }
 
 void BluezBluetoothInterface::slotRemoteDeviceDisappeared(const QString &address)
 {
-    kDebug() << "address: " << address;
     QString remoteubi = QString("%1/%2").arg(ubi()).arg(address);
     emit remoteDeviceDisappeared(remoteubi);
 }
--- trunk/KDE/kdebase/workspace/solid/bluez/bluez-bluetoothremotedevice.cpp \
#707044:707045 @@ -40,7 +40,6 @@
 	m_adapter = m_objectPath.left(objectPath.size() - 18);
 	m_address = m_objectPath.right(17);
 
-	kDebug() << " path: " << m_adapter << " address: " << m_address;
 
 	device = new QDBusInterface("org.bluez", m_adapter,
 				    "org.bluez.Adapter", QDBusConnection::systemBus());
@@ -144,8 +143,6 @@
 
 int BluezBluetoothRemoteDevice::pinCodeLength() const
 {
-	kDebug() ;
-
 	QDBusReply< int > path = device->call("PinCodeLength", m_address);
 	if (!path.isValid())
 		return false;
@@ -155,8 +152,6 @@
 
 int BluezBluetoothRemoteDevice::encryptionKeySize() const
 {
-	kDebug() ;
-
 	QDBusReply< int > path = device->call("EncryptionKeySize", m_address);
 	if (!path.isValid())
 		return false;
@@ -175,37 +170,30 @@
 
 void BluezBluetoothRemoteDevice::setAlias(const QString &alias)
 {
-	kDebug() ;
-	device->call("SetRemoteAlias", m_address, alias);
 }
 
 void BluezBluetoothRemoteDevice::clearAlias()
 {
-	kDebug() ;
 	device->call("ClearRemoteAlias", m_address);
 }
 
 void BluezBluetoothRemoteDevice::disconnect()
 {
-	kDebug() ;
 	device->call("DisconnectRemoteDevice", m_address);
 }
 
 void BluezBluetoothRemoteDevice::cancelBondingProcess()
 {
-	kDebug() ;
 	device->call("CancelBondingProcess", m_address);
 }
 
 void BluezBluetoothRemoteDevice::removeBonding()
 {
-	kDebug() ;
 	device->call("RemoveBonding", m_address);
 }
 
 void BluezBluetoothRemoteDevice::serviceHandles(const QString &filter) const
 {
-	kDebug() ;
 	QList<QVariant> args;
 	args << m_address << filter;
 	device->callWithCallback("GetRemoteServiceHandles",
@@ -218,7 +206,6 @@
 
 void BluezBluetoothRemoteDevice::serviceRecordAsXml(uint handle) const
 {
-	kDebug() ;
 	QList<QVariant> args;
 	args << m_address << handle;
 	device->callWithCallback("GetRemoteServiceRecordAsXML",
@@ -229,13 +216,11 @@
 }
 void BluezBluetoothRemoteDevice::slotServiceHandles(const QList< uint > & handles)
 {
-// 	kDebug() ;
 	emit serviceHandlesAvailable(ubi(),handles);
 }
 
 void BluezBluetoothRemoteDevice::slotServiceRecordAsXml(const QString & record)
 {
-// 	kDebug() ;
 	emit serviceRecordXmlAvailable(ubi(),record);
 }
 /******************************/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic