Update NEWS
Fix warning in DBusTubeChannel

Reviewed-by: Dario Freddi <drf@kde.org>
Fix storing avatars, so that they are not stored millions of times each

The original problem lies in the fact that QFile::rename() does not overwrite
existing files. Therefore it fails and the temporary file stays on the
filesystem together with the already existing avatar file. Checking if the file
exists before renaming solves this partially, but the problem is that this
operation is not atomic. There can be many processes using tp-qt, fetching
avatars at the same time from the server, and in this case we can still have
a problem there. The final solution is to ignore a new avatar that has the same
token as an avatar that is already on the filesystem. According to the spec,
different avatars have different tokens, so if an avatar changes, the token
changes as well.

https://bugs.freedesktop.org/show_bug.cgi?id=47647

Reviewed-by: David Edmundson <kde@davidedmundson.co.uk>
Update NEWS
Replace QString::toAscii by QString::toLatin1

Because former is no longer supported by QT5
Replace QWeakPointer by QPointer
cmake: find QT5 (breaks QT4)
(Partially) implemented Connection and Channel interface
base-channel: emit signals after returning
Implement BaseConnectionSimplePresenceInterface
fix invoke
Signal pendingMessagesRemoved
Implement BaseConnectionContactListInterface
add BaseConnectionContactsInterface::setContactAttributeInterfaces
Allow ensureChannel without handle
emit contactListStateChanged
Remove some debugging messages
Implement BaseConnectionAddressingInterface
Correct closing of channel
BaseConnection: support disconnect