-rw-r--r-- | kabc/formats/vcardformatplugin2.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kabc/formats/vcardformatplugin2.cpp b/kabc/formats/vcardformatplugin2.cpp index 2a772b4..f19e218 100644 --- a/kabc/formats/vcardformatplugin2.cpp +++ b/kabc/formats/vcardformatplugin2.cpp | |||
@@ -3,42 +3,39 @@ Enhanced Version of the file for platform independent KDE tools. | |||
3 | Copyright (c) 2004 Ulf Schenk | 3 | Copyright (c) 2004 Ulf Schenk |
4 | 4 | ||
5 | $Id$ | 5 | $Id$ |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include "vcardformatplugin2.h" | 8 | #include "vcardformatplugin2.h" |
9 | 9 | ||
10 | #include "address.h" | 10 | #include "address.h" |
11 | #include "addressee.h" | 11 | #include "addressee.h" |
12 | #include "vcardparser/vcardtool.h" | 12 | #include "vcardparser/vcardtool.h" |
13 | 13 | ||
14 | #include <qtextstream.h> | 14 | #include <qtextstream.h> |
15 | #include <qfile.h> | 15 | #include <qfile.h> |
16 | 16 | ||
17 | using namespace KABC; | 17 | using namespace KABC; |
18 | 18 | ||
19 | /*US | ||
20 | extern "C" | 19 | extern "C" |
21 | { | 20 | { |
22 | FormatPlugin *format() | 21 | FormatPlugin *format() |
23 | { | 22 | { |
24 | qDebug(" VCardFormatPlugin2::format = new VCardFormatPlugin2"); | ||
25 | return new VCardFormatPlugin2(); | 23 | return new VCardFormatPlugin2(); |
26 | } | 24 | } |
27 | } | 25 | } |
28 | */ | ||
29 | 26 | ||
30 | VCardFormatPlugin2::VCardFormatPlugin2() | 27 | VCardFormatPlugin2::VCardFormatPlugin2() |
31 | { | 28 | { |
32 | } | 29 | } |
33 | 30 | ||
34 | VCardFormatPlugin2::~VCardFormatPlugin2() | 31 | VCardFormatPlugin2::~VCardFormatPlugin2() |
35 | { | 32 | { |
36 | } | 33 | } |
37 | 34 | ||
38 | bool VCardFormatPlugin2::load( Addressee &addressee, QFile *file ) | 35 | bool VCardFormatPlugin2::load( Addressee &addressee, QFile *file ) |
39 | { | 36 | { |
40 | QString data; | 37 | QString data; |
41 | 38 | ||
42 | QTextStream t( file ); | 39 | QTextStream t( file ); |
43 | t.setEncoding( QTextStream::UnicodeUTF8 ); | 40 | t.setEncoding( QTextStream::UnicodeUTF8 ); |
44 | data = t.read(); | 41 | data = t.read(); |