feat: rename project to quickshell

This commit is contained in:
outfoxxed 2024-02-12 02:16:22 -08:00
parent ae5363a351
commit 5de0ae095b
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
10 changed files with 54 additions and 55 deletions

View file

@ -9,16 +9,16 @@
#include "qmlscreen.hpp"
class QtShellGlobal: public QObject {
class QuickShellGlobal: public QObject {
Q_OBJECT;
Q_PROPERTY(QQmlListProperty<QtShellScreenInfo> screens READ screens NOTIFY screensChanged);
Q_PROPERTY(QQmlListProperty<QuickShellScreenInfo> screens READ screens NOTIFY screensChanged);
QML_SINGLETON;
QML_NAMED_ELEMENT(QtShell);
QML_NAMED_ELEMENT(QuickShell);
public:
QtShellGlobal(QObject* parent = nullptr);
QuickShellGlobal(QObject* parent = nullptr);
QQmlListProperty<QtShellScreenInfo> screens();
QQmlListProperty<QuickShellScreenInfo> screens();
signals:
void screensChanged();
@ -28,8 +28,8 @@ public slots:
void updateScreens();
private:
static qsizetype screensCount(QQmlListProperty<QtShellScreenInfo>* prop);
static QtShellScreenInfo* screenAt(QQmlListProperty<QtShellScreenInfo>* prop, qsizetype i);
static qsizetype screensCount(QQmlListProperty<QuickShellScreenInfo>* prop);
static QuickShellScreenInfo* screenAt(QQmlListProperty<QuickShellScreenInfo>* prop, qsizetype i);
QVector<QtShellScreenInfo*> mScreens;
QVector<QuickShellScreenInfo*> mScreens;
};