[Qt-interest] Issue in appending QList Variable

Kamakshi Sivaraman Kamakshi.Sivaraman at lntinfotech.com
Tue May 5 13:29:43 CEST 2009


Hi,

Is it not possible to use userdefined structure as value in QList ?
For Eg:
struct stlistData{ 
                QString strName; 
                }; 

                stlistData obj; 
                obj.strName = "XYZ"; 
                QList<stlistData> liststr; 
                liststr.append(obj); 


Thanks & Regards,
S.KAMAKSHI
Larsen & Toubro Infotech Limited
Whitefield,
Bangalore -560066

Larsen & Toubro Infotech Ltd.
www.Lntinfotech.com

This Document is classified as: 

L&T Infotech Proprietary   L&T Infotech Confidential   L&T Infotech 
Internal Use Only   L&T Infotech General Business 

This Email may contain confidential or privileged information for the 
intended recipient (s) If you are not the intended recipient, please do 
not use or disseminate the information, notify the sender and delete it 
from your system. 

______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090505/197f60bc/attachment.html 


More information about the Qt-interest-old mailing list