File indexing completed on 2024-12-15 04:47:01

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 <ImportWizard/AbstractAddressBook>
0010 
0011 class OperaAddressBook : public LibImportWizard::AbstractAddressBook
0012 {
0013 public:
0014     explicit OperaAddressBook(const QString &filename);
0015     ~OperaAddressBook() override;
0016 
0017     void importAddressBook();
0018 
0019 private:
0020     void appendContact(KContacts::Addressee *contact);
0021     const QString mFileName;
0022 };