void SMS::WriteCSVSymbian(QTextStream &stream, const ColumnIndicesByIndexHash &headerIndices, const QChar delimiter, const NumberToNameLookup &numberToNameLookup, SymbianEventLogStrings &strings) const
{
// 0|05/09/2007 11:25:12 am|1||||||<name>|3|8|0|0|<number>|||Unrecognized||
- for(uint columnIndex(0); columnIndex < headerIndices.count(); ++columnIndex)
+ for(uint columnIndex(0); columnIndex < (uint)headerIndices.count(); ++columnIndex)
{
const QString &heading(headerIndices.value(columnIndex));
if("etype" == heading.toLower())
}
else if("direction" == heading.toLower())
{
- if(Settings::OUTGOING == Destination())
+ if(SMS::SENT == Destination())
{
if(!strings.contains("Outgoing"))
strings.insert("Outgoing", strings.count());
stream << strings.value("Outgoing");
}
- else if (Settings::INCOMING == Destination())
+ else if (SMS::INBOX == Destination())
{
if(!strings.contains("Incoming"))
strings.insert("Incoming", strings.count());
// generated.
}
- if(columnIndex < headerIndices.count() - 1)
+ if(columnIndex < (uint)headerIndices.count() - 1)
stream << delimiter;
}