Index: kdebluetooth-common/mimetypes/phone-device-class.desktop =================================================================== --- kdebluetooth-common/mimetypes/phone-device-class.desktop (revision 527167) +++ kdebluetooth-common/mimetypes/phone-device-class.desktop (working copy) @@ -3,6 +3,7 @@ Type=MimeType MimeType=bluetooth/phone-device-class Icon=kaddressbook +X-KDE-IsAlso=inode/directory Comment=Phone Bluetooth Device Comment[bg]=Телефонно Bluetooth устройство Comment[da]=Telefon Bluetooth-enhed Index: kdebluetooth-common/mimetypes/misc-device-class.desktop =================================================================== --- kdebluetooth-common/mimetypes/misc-device-class.desktop (revision 527167) +++ kdebluetooth-common/mimetypes/misc-device-class.desktop (working copy) @@ -3,6 +3,7 @@ Type=MimeType MimeType=bluetooth/misc-device-class Icon=kdebluetooth +X-KDE-IsAlso=inode/directory Comment=Miscellaneous Bluetooth Device Comment[bg]=Разни Bluetooth устройства Comment[da]=Diverse Bluetooth-enheder Index: kdebluetooth-common/mimetypes/computer-device-class.desktop =================================================================== --- kdebluetooth-common/mimetypes/computer-device-class.desktop (revision 527167) +++ kdebluetooth-common/mimetypes/computer-device-class.desktop (working copy) @@ -3,6 +3,7 @@ Type=MimeType MimeType=bluetooth/computer-device-class Icon=konsole +X-KDE-IsAlso=inode/directory Comment=Computer/PDA Bluetooth Device Comment[bg]=Компютърно/PDA Bluetooth устройство Comment[bs]=Računar/PDA Bluetooth uređaj Index: kioslave/bluetooth/bluetooth.protocol =================================================================== --- kioslave/bluetooth/bluetooth.protocol (revision 527167) +++ kioslave/bluetooth/bluetooth.protocol (working copy) @@ -4,6 +4,7 @@ input=none output=filesystem reading=true +listing=Name,Type,Size,Date,AccessDate,Access,Owner,Group,Link Icon=kdebluetooth Description=Bluetooth inquiry protocol Description[bg]=Протокол за заявка към Bluetooth Index: kioslave/bluetooth/kiobluetooth.cpp =================================================================== --- kioslave/bluetooth/kiobluetooth.cpp (revision 527167) +++ kioslave/bluetooth/kiobluetooth.cpp (working copy) @@ -64,6 +64,7 @@ if (url.hasHost() == false && path == "/") { createDirEntry(entry, "Bluetooth neighborhood"); + statEntry(entry); finished(); } else { @@ -284,7 +285,8 @@ addAtom(entry, UDS_MIME_TYPE, mimeType); addAtom(entry, UDS_FILE_TYPE, S_IFDIR); - addAtom(entry, UDS_GUESSED_MIME_TYPE, "inode/folder"); + // No more necessary + // addAtom(entry, UDS_GUESSED_MIME_TYPE, "inode/directory"); return true; } Index: kioslave/sdp/btsdp.protocol =================================================================== --- kioslave/sdp/btsdp.protocol (revision 527167) +++ kioslave/sdp/btsdp.protocol (working copy) @@ -5,6 +5,7 @@ output=filesystem reading=true Icon=kdebluetooth +listing=Name,Type,Size,Date,AccessDate,Access,Owner,Group,Link Description=Bluetooth service discovery protocol Description[bg]=Протокол за откриване на Bluetooth услуги Description[da]=Bluetooth-protokol til opdagelse af serviceydelser Index: kioslave/sdp/btsdp.cpp =================================================================== --- kioslave/sdp/btsdp.cpp (revision 527167) +++ kioslave/sdp/btsdp.cpp (working copy) @@ -131,12 +131,21 @@ if (path == "/") { createDirEntry(entry, "Bluetooth neighborhood"); + statEntry(entry); finished(); } else { - error(KIO::ERR_SLAVE_DEFINED, + QRegExp reg = QRegExp("^/uuid-(0x[a-f,A-F,0-9:]+)/"); + if (reg.search(path) >= 0) { + createDirEntry(entry, "More services"); + statEntry(entry); + finished(); + } + else { + error(KIO::ERR_SLAVE_DEFINED, i18n("Could not stat %1. Unknown device").arg(url.url())); + } } } else {