File indexing completed on 2024-05-26 05:05:27
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 "libruqolawidgets_private_export.h" 0010 #include <QTreeView> 0011 0012 class LIBRUQOLAWIDGETS_TESTS_EXPORT InviteTreeView : public QTreeView 0013 { 0014 Q_OBJECT 0015 public: 0016 explicit InviteTreeView(QWidget *parent = nullptr); 0017 ~InviteTreeView() override; 0018 0019 Q_SIGNALS: 0020 void removeInvite(const QString &identifier); 0021 0022 private: 0023 LIBRUQOLAWIDGETS_NO_EXPORT void initialize(); 0024 LIBRUQOLAWIDGETS_NO_EXPORT void removeClicked(const QString &identifier); 0025 LIBRUQOLAWIDGETS_NO_EXPORT void slotCustomContextMenuRequested(const QPoint &pos); 0026 };