Ok, I think my confusion came from the fact, that I thought the plugin must somehow inherit from QObject and can't be just QWidget only
QWidget is a QObject.

Qt Code:
  1. class ViewPluginInterface : public QWidget // to ensure, that anyone using this interface, is creating it as a QWidget
  2. {
  3. ...
  4. };
To copy to clipboard, switch view to plain text mode 
You can't do that, since then your interface is not an interface any more.