Hey folks,

I have made up a class that inherits QObject, now i want some container (for GUI) that can store my cObj class.... I have tried following:

Qt Code:
  1. QListWidgetItem *_cObj=new cObj()
To copy to clipboard, switch view to plain text mode 

to add item in list widget, but i think QT or precisely C++ doesn't support polymorphism like this, C# does...is there any way i can do this.. main problem is my cObj class is toooo big and i need to use functions and properties defined in it.

thanks in advance