rename: QuickShell => Quickshell

This commit is contained in:
outfoxxed 2024-02-26 00:57:47 -08:00
parent 307e6c05be
commit 4ae7ff8c72
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
19 changed files with 78 additions and 78 deletions

View file

@ -10,7 +10,7 @@ add_library(quickshell-wayland-init OBJECT init.cpp)
target_link_libraries(quickshell PRIVATE ${QT_DEPS} quickshell-waylandplugin quickshell-wayland-init)
qt_add_qml_module(quickshell-wayland URI QuickShell.Wayland)
qt_add_qml_module(quickshell-wayland URI Quickshell.Wayland)
find_package(PkgConfig REQUIRED)
pkg_check_modules(wayland REQUIRED IMPORTED_TARGET wayland-client wayland-protocols)

View file

@ -10,15 +10,15 @@ class WaylandPlugin: public QuickshellPlugin {
bool applies() override { return QGuiApplication::platformName() == "wayland"; }
void registerTypes() override {
qmlRegisterType<WaylandPanelInterface>("QuickShell._WaylandOverlay", 1, 0, "PanelWindow");
qmlRegisterType<WaylandPanelInterface>("Quickshell._WaylandOverlay", 1, 0, "PanelWindow");
// If any types are defined inside a module using QML_ELEMENT then all QML_ELEMENT types
// will not be registered. This can be worked around with a module import which makes
// the QML_ELMENT module import the old register-type style module.
qmlRegisterModuleImport(
"QuickShell",
"Quickshell",
QQmlModuleImportModuleAny,
"QuickShell._WaylandOverlay",
"Quickshell._WaylandOverlay",
QQmlModuleImportLatest
);
}

View file

@ -1,5 +1,5 @@
name = "QuickShell.Wayland"
description = "Wayland specific QuickShell types"
name = "Quickshell.Wayland"
description = "Wayland specific Quickshell types"
headers = [
"layershell.hpp",
"waylandlayershell.hpp",

View file

@ -79,7 +79,7 @@ void WaylandLayershell::setHeight(qint32 height) {
}
}
void WaylandLayershell::setScreen(QuickShellScreenInfo* screen) {
void WaylandLayershell::setScreen(QuickshellScreenInfo* screen) {
this->ProxyWindowBase::setScreen(screen);
this->ext->setUseWindowScreen(screen != nullptr);
}
@ -197,7 +197,7 @@ QQuickItem* WaylandPanelInterface::contentItem() const { return this->layer->con
proxyPair(bool, isVisible, setVisible);
proxyPair(qint32, width, setWidth);
proxyPair(qint32, height, setHeight);
proxyPair(QuickShellScreenInfo*, screen, setScreen);
proxyPair(QuickshellScreenInfo*, screen, setScreen);
proxyPair(QColor, color, setColor);
proxyPair(PendingRegion*, mask, setMask);

View file

@ -41,7 +41,7 @@ public:
void setWidth(qint32 width) override;
void setHeight(qint32 height) override;
void setScreen(QuickShellScreenInfo* screen) override;
void setScreen(QuickshellScreenInfo* screen) override;
[[nodiscard]] Layer::Enum layer() const;
void setLayer(Layer::Enum layer); // NOLINT
@ -107,8 +107,8 @@ public:
[[nodiscard]] qint32 height() const override;
void setHeight(qint32 height) override;
[[nodiscard]] QuickShellScreenInfo* screen() const override;
void setScreen(QuickShellScreenInfo* screen) override;
[[nodiscard]] QuickshellScreenInfo* screen() const override;
void setScreen(QuickshellScreenInfo* screen) override;
[[nodiscard]] QColor color() const override;
void setColor(QColor color) override;