Scare Crowe d2ebfd0519 QortalOS Titan 5.60.12
Screw the description like that inbred T3Q
2022-03-05 21:17:59 +05:00

38 lines
705 B
C++

/*
SPDX-FileCopyrightText: 2016 Eike Hein <hein.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef WINDOWMODEL_H
#define WINDOWMODEL_H
#include "taskfilterproxymodel.h"
class PagerModel;
class WindowModel : public TaskManager::TaskFilterProxyModel
{
Q_OBJECT
public:
enum WindowModelRoles {
StackingOrder = Qt::UserRole + 1,
};
Q_ENUM(WindowModelRoles)
explicit WindowModel(PagerModel *parent);
~WindowModel() override;
QHash<int, QByteArray> roleNames() const override;
QVariant data(const QModelIndex &index, int role) const override;
void refreshStackingOrder();
private:
class Private;
QScopedPointer<Private> d;
};
#endif