File indexing completed on 2024-12-15 04:54:36

0001 /*
0002   SPDX-FileCopyrightText: 2021-2024 Laurent Montel <montel@kde.org>
0003 
0004   SPDX-License-Identifier: LGPL-2.0-or-later
0005 
0006 */
0007 #pragma once
0008 
0009 #include "messagelist_private_export.h"
0010 #include <KMessageWidget>
0011 
0012 namespace MessageList
0013 {
0014 namespace Core
0015 {
0016 class MESSAGELIST_TESTS_EXPORT TabLockedWarning : public KMessageWidget
0017 {
0018     Q_OBJECT
0019 public:
0020     explicit TabLockedWarning(QWidget *parent = nullptr);
0021     ~TabLockedWarning() override;
0022 Q_SIGNALS:
0023     void unlockTabRequested();
0024 
0025 private:
0026     void slotLinkActivated(const QString &contents);
0027 };
0028 }
0029 }