Hi friends,

I was going though the qobject_cast of a QLineEdit to QWidget ... now i got the problem that im having a QList of QLineEdit and have to type cast it to QList of QWidget ..
present i was typecasting each and every QlineEdit in the list in a for() loop..

but is there any other way to change the type of a QList
Ex:

QList <QLineEdit *> lList can be typecasted to QList<QWidget*> as QLineEdit is inherited from QWidget ..


Thanks

Wagmare