plugins: make units component method available within QML

Signed-off-by: Simon Busch <morphis@gravedo.de>