I would like to implemet custom completion (multi world matching e.g,) completer on item list from a qcombobox.

The docs for QComboBox show setcompleter(QCompleter *) member.

I figure I need to subclass QCompleter and pass it to QComboBox::setCOmplter()

I looked at QCompleter docs and I dont see many virtual functions, for which I figure I would have to override with my own code.

I am lost/confused,
How does QComboBox would use/call my own custom completer ?
Which members would QComboBox call ? connect to which slot/signals ?

In theory, I would imagine QComboBox would call my completer; e.g, complete(QString phrase); passing phrase that was typed in the edit box of combo box.

Could somone please explain how is QComboBox interacting with QComplter passed to combo box using setCompleter() member ?

cheers