[PyQt] QVector<t> usage

Jason Hihn jason at eyemaginations.com
Thu May 17 21:02:43 BST 2007


I've gotten around the form builder problem for now, but I ran into another
problem.

I have the following function:

E3PLAY_API bool play_list_from_file(const QString &fname,
QVector<E3PlayListItem> &play_list);

 

Where fname is an in, and play_list is an out. (The file is parsed and
returns a qvector of play list items.) On return from the function, it is
supposed to return an array (qvector) of the items in the file.

 

How can I get this function to work as it does in C++?

 

 

---

Regards,

Jason Hihn

Director of Software Engineering
Eyemaginations, Inc.

600 Washington Ave, Suite #100
Towson, MD 21204
Domestic: 877.321.5481 ext. 8617
International: 410.321.5481 ext. 8617
Fax: 410.616.8657
jason at eyemaginations.com
www.eyemaginations.com
www.3d-eye.com

=================================================
The information transmitted within this email document or fax is intended
only for 

the person(s) or entity to which it is specifically addressed and may
contain 

confidential and/or privileged material of Eyemaginations. Any re-creation,
review, 

distribution, retransmission, dissemination or other use of, or taking of
any action 

in reliance upon, this information by persons or entities other than the
intended 

parties is completely prohibited. If you have received this email in error,
please 

contact the sender or author and permanently delete and destroy the email
from 

any computer which houses its contents. 

=================================================

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070517/03e8321d/attachment-0001.html


More information about the PyQt mailing list