equal
deleted
inserted
replaced
90 void CpixDocument::addField(const QString aName, const QString aValue, const int aConfig) |
90 void CpixDocument::addField(const QString aName, const QString aValue, const int aConfig) |
91 { |
91 { |
92 iPvtImpl->iFields.append( CpixDocumentField::newInstance( aName, aValue, aConfig ) ); |
92 iPvtImpl->iFields.append( CpixDocumentField::newInstance( aName, aValue, aConfig ) ); |
93 } |
93 } |
94 |
94 |
|
95 const CpixDocumentField& CpixDocument::field( const QString aName ) const |
|
96 { |
|
97 int i, count = iPvtImpl->iFields.count(); |
|
98 for (i =0; i< count;i++) |
|
99 { |
|
100 if(iPvtImpl->iFields.at(i)->name() == aName) |
|
101 break; |
|
102 } |
|
103 return *(iPvtImpl->iFields.at(i)); |
|
104 } |
|
105 |
95 //End of File |
106 //End of File |