I did read the example, my earlier version that compiled did have:
QWidget *createWidget(QWidget *parent);
To copy to clipboard, switch view to plain text mode
as per the example,and in the implementation file:
{
return new DbComboBox(parent);
}
QWidget *DbComboBoxPlugin::createWidget(QWidget *parent)
{
return new DbComboBox(parent);
}
To copy to clipboard, switch view to plain text mode
(Is this not C++ over-riding ? if not, I have not understood it at all). 
This is creating an instance, but I'm not seeing all of QComboBox features.
What am I missing then?
Bookmarks