Removed <unused> warnings from some plug-in files

This concludes my series of commits that helped porting to Qt 5. It just  removes some warnings from plug-in files.