Plasma-workspace

waylandstartuptasksmodel.h
1/*
2 SPDX-FileCopyrightText: 2021 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#pragma once
8
9#include <memory>
10
11#include "abstracttasksmodel.h"
12
13namespace TaskManager
14{
15class TASKMANAGER_EXPORT WaylandStartupTasksModel : public AbstractTasksModel
16{
17 Q_OBJECT
18
19public:
20 explicit WaylandStartupTasksModel(QObject *parent = nullptr);
21 ~WaylandStartupTasksModel() override;
22
23 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
24 int rowCount(const QModelIndex &parent = QModelIndex()) const override;
25
26private:
27 class Private;
28 std::unique_ptr<Private> d;
29};
30
31} // namespace TaskManager
DisplayRole
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.