Replace deprecated provides() with hasFormat()

QDropEvent::provides() has been deprecated from the move from Qt 3 to Qt 4.
Replace this instance with the hasFormat() method on the mimeData instance.