If your plugins can create ConfigWidget* you might have access to them at creation time at some point. In that case storing them in a QList<ConfigWidget*> would be more efficient, since you don't have to traverse the whole widget tree, nor need any casting.

Cheers,
_