mickey
13th July 2006, 12:04
Hi, Do I have to call 'delete' in anywhere? (eg. destructor)? thanks. Or Does qt provide it to itself? Does it do this for every widgets?
std::vector <FancyPopup*> ppop; //member of Mainform class
//inside constructor of Mainform class
for (int i=0; i<8; i++)
ppop.push_back(new FancyPopup(this));
std::vector <FancyPopup*> ppop; //member of Mainform class
//inside constructor of Mainform class
for (int i=0; i<8; i++)
ppop.push_back(new FancyPopup(this));