Plasma-workspace

concatenatetasksproxymodel.h
1/*
2 SPDX-FileCopyrightText: 2016 Eike Hein <hein@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 "abstracttasksproxymodeliface.h"
10
11#include <QConcatenateTablesProxyModel>
12
13#include "taskmanager_export.h"
14
15namespace TaskManager
16{
17/**
18 * @short A proxy tasks model for concatenating multiple source tasks models.
19 *
20 * This proxy model is a subclass of \QConcatenateTablesProxyModel implementing
21 * AbstractTasksModelIface, forwarding calls to the correct source model.
22 *
23 * @author Eike Hein <hein@kde.org>
24 **/
25
27{
28 Q_OBJECT
29
30public:
31 explicit ConcatenateTasksProxyModel(QObject *parent = nullptr);
33
34protected:
35 QModelIndex mapIfaceToSource(const QModelIndex &index) const override;
36};
37
38}
Pure method interface for tasks model implementations.
A proxy tasks model for concatenating multiple source tasks models.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:17:42 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.