File indexing completed on 2024-11-24 04:43:05
0001 /* 0002 SPDX-FileCopyrightText: 2014-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <Akonadi/Item> 0010 #include <QTabWidget> 0011 0012 namespace KABMergeContacts 0013 { 0014 class MergeContactShowResultTabWidget : public QTabWidget 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit MergeContactShowResultTabWidget(QWidget *parent = nullptr); 0019 ~MergeContactShowResultTabWidget() override; 0020 0021 void updateTabWidget(); 0022 0023 [[nodiscard]] bool tabBarVisible() const; 0024 0025 void showMergedContacts(const Akonadi::Item::List &lstItem); 0026 void addMergedContact(const Akonadi::Item &item, bool updateTab = false); 0027 }; 0028 }