]> pilppa.org Git - vcard-tracker-import.git/blob - src/VCardDirectoryImporter.h
initial commit
[vcard-tracker-import.git] / src / VCardDirectoryImporter.h
1 /*
2  * Copyright (c) 2011, Mika Laitio. <lamikr@pilppa.org>, Tom Swindell.
3  *
4  * This program is licensed under the terms and conditions of the
5  * Apache License, version 2.0.  The full text of the Apache License is at
6  * http://www.apache.org/licenses/LICENSE-2.0
7  *
8  */
9
10 #ifndef VCARDDIRECTORYIMPORTER_H
11 #define VCARDDIRECTORYIMPORTER_H
12
13 #include <QObject>
14 #include <QContact>
15 #include <QContactAbstractRequest>
16
17 QTM_USE_NAMESPACE
18
19 class VCardDirectoryImporterPrivate;
20
21 class VCardDirectoryImporter : public QObject
22 {
23     Q_OBJECT
24     public:
25         VCardDirectoryImporter(QObject *parent = 0);
26         ~VCardDirectoryImporter();
27         int importVCardsDirectoryContacts(const QString &path);
28         int saveContacts();
29
30     private:
31         QList<QContact> contactList;
32 };
33
34 #endif // VCARDDIRECTORYIMPORTER_H