MailTransport

transporttreeview.h
1/*
2 SPDX-FileCopyrightText: 2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6#pragma once
7
8#include "kmailtransport_private_export.h"
9#include <QTreeView>
10#include <QTreeWidgetItem>
11
12namespace MailTransport
13{
14class TransportSortProxyModel;
15class TransportActivitiesAbstract;
16class KMAILTRANSPORT_TESTS_EXPORT TransportTreeView : public QTreeView
17{
18 Q_OBJECT
19public:
20 explicit TransportTreeView(QWidget *parent = nullptr);
21 ~TransportTreeView() override;
22
23 [[nodiscard]] TransportActivitiesAbstract *transportActivitiesAbstract() const;
24 void setTransportActivitiesAbstract(TransportActivitiesAbstract *activitiesAbstract);
25
26 [[nodiscard]] TransportSortProxyModel *transportSortProxyModel() const;
27
28 [[nodiscard]] bool enablePlasmaActivities() const;
29 void setEnablePlasmaActivities(bool newEnablePlasmaActivities);
30
31private:
32 TransportSortProxyModel *const mTransportSortProxyModel;
33};
34}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.