Qt Code:
  1. class ltcpOS : public QObject,tcpPluginInterface
To copy to clipboard, switch view to plain text mode 

I'm not sure I am remembering my C++ correctly, but I believe that this declaration is the same as:

Qt Code:
  1. class ltcpOS : public QObject, private tcpPluginInterface
To copy to clipboard, switch view to plain text mode 

which you definitely do not want. It should be declared as:

Qt Code:
  1. class ltcpOS : public QObject, public tcpPluginInterface
To copy to clipboard, switch view to plain text mode 

and you need to do the other things Wysota said.