QortalOS Brooklyn for Raspberry Pi 4
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
946 B

/*
SPDX-FileCopyrightText: 2016 Eike Hein <[email protected]>
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#pragma once
#include "abstracttasksproxymodeliface.h"
#include <KConcatenateRowsProxyModel>
#include "taskmanager_export.h"
namespace TaskManager
{
/**
* @short A proxy tasks model for concatenating multiple source tasks models.
*
* This proxy model is a subclass of KConcatenateRowsProxyModel implementing
* AbstractTasksModelIface, forwarding calls to the correct source model.
*
* @author Eike Hein <[email protected]>
**/
class TASKMANAGER_EXPORT ConcatenateTasksProxyModel : public KConcatenateRowsProxyModel, public AbstractTasksProxyModelIface
{
Q_OBJECT
public:
explicit ConcatenateTasksProxyModel(QObject *parent = nullptr);
~ConcatenateTasksProxyModel() override;
protected:
QModelIndex mapIfaceToSource(const QModelIndex &index) const override;
};
}