File indexing completed on 2024-12-22 04:52:49
0001 /* 0002 SPDX-FileCopyrightText: 2012-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "abstractaddressbook.h" 0010 #include <QDir> 0011 #include <QHash> 0012 class QString; 0013 0014 class SylpheedAddressBook : public LibImportWizard::AbstractAddressBook 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit SylpheedAddressBook(const QDir &dir); 0019 ~SylpheedAddressBook() override; 0020 0021 void importAddressBook(); 0022 0023 private: 0024 void readAddressBook(const QString &filename); 0025 QHash<QString, QStringList> mAddressBookUid; 0026 QDir mDir; 0027 };