File indexing completed on 2024-12-22 04:52:48

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 
0011 class KConfigGroup;
0012 
0013 class BalsaAddressBook : public LibImportWizard::AbstractAddressBook
0014 {
0015 public:
0016     explicit BalsaAddressBook(const QString &filename);
0017     ~BalsaAddressBook() override;
0018 
0019     void importAddressBook();
0020 
0021 private:
0022     void readAddressBook(const KConfigGroup &grp);
0023     QString mFileName;
0024 };