File indexing completed on 2024-11-24 04:43:05

0001 /*
0002    SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QLabel>
0010 
0011 namespace KABMergeContacts
0012 {
0013 class MergeContactErrorLabel : public QLabel
0014 {
0015     Q_OBJECT
0016 public:
0017     enum ErrorType {
0018         NotEnoughContactsSelected = 0,
0019         NoContactDuplicatesFound,
0020         NoContactSelected,
0021     };
0022     explicit MergeContactErrorLabel(MergeContactErrorLabel::ErrorType type, QWidget *parent = nullptr);
0023     ~MergeContactErrorLabel() override;
0024 };
0025 }