BalaQT
4th March 2010, 15:35
hi,
just a basic question.
just to confirm im asking.
what will be the lifetime of the lineedit ?
foreach(QLineEdit* le1,qw->findChildren<QLineEdit*>())
{
le1->clear();
}
im using le1->clear() for clearing the lineedit content.
i want to know, le1 will be deleted @ the end of the brace right?
or do i need to delete?
Bala
just a basic question.
just to confirm im asking.
what will be the lifetime of the lineedit ?
foreach(QLineEdit* le1,qw->findChildren<QLineEdit*>())
{
le1->clear();
}
im using le1->clear() for clearing the lineedit content.
i want to know, le1 will be deleted @ the end of the brace right?
or do i need to delete?
Bala