--- 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 <QRegExp>
#include <cpixdocumentfield.h>
#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