mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
33 lines
570 B
C
33 lines
570 B
C
|
|
/*
|
||
|
|
SPDX-FileCopyrightText: 2021 Marco Martin <mart@kde.org>
|
||
|
|
|
||
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
|
*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
|
||
|
|
#include <QObject>
|
||
|
|
|
||
|
|
class QQuickItem;
|
||
|
|
class FavoritesModel;
|
||
|
|
|
||
|
|
class HomeScreenUtils : public QObject
|
||
|
|
{
|
||
|
|
Q_OBJECT
|
||
|
|
|
||
|
|
public:
|
||
|
|
HomeScreenUtils( QObject *parent = 0);
|
||
|
|
~HomeScreenUtils() override;
|
||
|
|
|
||
|
|
Q_INVOKABLE void stackBefore(QQuickItem *item1, QQuickItem *item2);
|
||
|
|
Q_INVOKABLE void stackAfter(QQuickItem *item1, QQuickItem *item2);
|
||
|
|
|
||
|
|
protected:
|
||
|
|
// void configChanged() override;
|
||
|
|
|
||
|
|
private:
|
||
|
|
bool m_showAllApps = false;
|
||
|
|
};
|
||
|
|
|