class element: public QObject{ Q_OBJECTpublic: element(void); ~element(void);};
element e;QList<element> *list = new QList<element>;list->append(e);
QList<element*> list;list.append(new element());