Qt: Make Protocol class public API