diff -r d4d56f5e7c55 -r 65456528cac2 qcpix/src/cpixdocumentfield.cpp --- a/qcpix/src/cpixdocumentfield.cpp Tue Oct 05 13:15:12 2010 +0530 +++ b/qcpix/src/cpixdocumentfield.cpp Fri Oct 15 12:09:28 2010 +0530 @@ -14,10 +14,11 @@ * Description: * */ - +#include #include #include "cpixdocumentfieldprivate.h" +#define SEPERATOR_EXP "\\s+" /** * Note: Code in this file should never throw OR leak symbian exceptions. * Convert all leaves to C++ exceptions. @@ -76,4 +77,10 @@ iPvtImpl->iConfig = aConfig; } +QStringList CpixDocumentField::values() const + { + QString str = iPvtImpl->iValue; + return str.split(QRegExp(SEPERATOR_EXP)); + } + //End of File