--- a/qcpix/src/cpixdocument.cpp Tue Oct 05 13:15:12 2010 +0530
+++ b/qcpix/src/cpixdocument.cpp Fri Oct 15 12:09:28 2010 +0530
@@ -92,4 +92,15 @@
iPvtImpl->iFields.append( CpixDocumentField::newInstance( aName, aValue, aConfig ) );
}
+const CpixDocumentField& CpixDocument::field( const QString aName ) const
+ {
+ int i, count = iPvtImpl->iFields.count();
+ for (i =0; i< count;i++)
+ {
+ if(iPvtImpl->iFields.at(i)->name() == aName)
+ break;
+ }
+ return *(iPvtImpl->iFields.at(i));
+ }
+
//End of File