[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/kaddressbook/xxport
From: Tobias Koenig <tokoe () kde ! org>
Date: 2009-11-03 8:31:33
Message-ID: 1257237093.831504.26518.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1044143 by tokoe:
Set the right option to export as vCard version 2.1
BUG: 212852
M +8 -3 xxportfactory.cpp
--- trunk/KDE/kdepim/kaddressbook/xxport/xxportfactory.cpp #1044142:1044143
@@ -27,9 +27,14 @@
XXPort* XXPortFactory::createXXPort( const QString &identifier, QWidget *parentWidget ) const
{
- if ( identifier == "vcard21" || identifier == "vcard30" )
- return new VCardXXPort( parentWidget );
- else if ( identifier == "csv" )
+ if ( identifier == "vcard21" || identifier == "vcard30" ) {
+ XXPort *xxport = new VCardXXPort( parentWidget );
+
+ if ( identifier == "vcard21" )
+ xxport->setOption( "version", "v21" );
+
+ return xxport;
+ } else if ( identifier == "csv" )
return new CsvXXPort( parentWidget );
else if ( identifier == "ldif" )
return new LDIFXXPort( parentWidget );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic