X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=EventTypes%2FSMS.cpp;h=e147c8d9af353c5b568d6c3d3406eb8a4824d8d3;hb=6e8e3d1a87a2b784abd818caeacb713f0cc2b582;hp=d325a560c933d61cdde05cd8c8130a2505fe0c48;hpb=6f10c189c55e152e9e81f92ff04a082be3a0d167;p=qwerkisync diff --git a/EventTypes/SMS.cpp b/EventTypes/SMS.cpp index d325a56..e147c8d 100644 --- a/EventTypes/SMS.cpp +++ b/EventTypes/SMS.cpp @@ -127,7 +127,7 @@ RTComElEvent * SMS::toRTComEvent(const NumberToNameLookup &numberToNameLookup) c return event; } -void SMS::Export(const QString &baseDirectory) const +void SMS::Export(const QString &baseDirectory, const NumberToNameLookup &numberToNameLookup) const { // Build the path and ensure it exists... QString eventFilename(baseDirectory); @@ -147,7 +147,7 @@ void SMS::Export(const QString &baseDirectory) const stream.setCodec("UTF-16LE"); EventParsers::VMGEntities::VMessage writer(CurrentSettings(), NULL, 1.1); - writer.Write(stream, *this); + writer.Write(stream, *this, numberToNameLookup); //stream << "Test"; //stream.setCodec(oldCodec); stream.flush();