File indexing completed on 2024-11-17 04:40:42
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 <QWidget> 0010 0011 namespace Ui 0012 { 0013 class ImportAddressbookPage; 0014 } 0015 0016 class ImportAddressbookPage : public QWidget 0017 { 0018 Q_OBJECT 0019 0020 public: 0021 explicit ImportAddressbookPage(QWidget *parent = nullptr); 0022 ~ImportAddressbookPage() override; 0023 0024 void addImportInfo(const QString &log); 0025 void addImportError(const QString &log); 0026 void setImportButtonEnabled(bool enabled); 0027 0028 Q_SIGNALS: 0029 void importAddressbookClicked(); 0030 0031 private: 0032 Ui::ImportAddressbookPage *const ui; 0033 };