how to use qx::IxDataMember::getValue()? [Solved]

Forum for posting problems using QxOrm library

how to use qx::IxDataMember::getValue()? [Solved]

Postby ahmed232323 » Wed Aug 29, 2012 1:46 am

hello everyone,
please how to use
Code: Select all
qx::IxDataMember::setValue()
qx::IxDataMember::getValue()
that was mentioned in FAQs http://www.qxorm.com/qxorm_en/faq.html#faq_190
iam trying to build table model implementing QAbstractTableModel dynamically at runtime to be used with QTableView widget.
thanks,
Last edited by ahmed232323 on Wed Aug 29, 2012 10:31 pm, edited 1 time in total.
ahmed232323
 
Posts: 4
Joined: Wed Aug 29, 2012 1:03 am

Re: how to use qx::IxDataMember::getValue()?

Postby qxorm » Wed Aug 29, 2012 7:48 pm

Hi,

You can find the documentation of qx::IxDataMember class here : http://www.qxorm.com/doxygen/html/class ... ember.html

And you can find an example using getValue()/setValue() methods in the file ./test/qxDllSample/exe/src/main.cpp, lines 366 and 380 :
Code: Select all
QString sIntrospectionTest = pDataMember->getValue<QString>(pBar.get(), (& bIntrospectionOk));
qxorm
Site Admin
 
Posts: 481
Joined: Mon Apr 12, 2010 7:45 am

Re: how to use qx::IxDataMember::getValue()?

Postby ahmed232323 » Wed Aug 29, 2012 10:30 pm

thanks, it works, :D
ahmed232323
 
Posts: 4
Joined: Wed Aug 29, 2012 1:03 am


Return to QxOrm - Help

Who is online

Users browsing this forum: No registered users and 8 guests

cron