Something went wrong. Try again.
Bring Windows XP themes to your KDE Plasma environment!
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031// SPDX-License-Identifier: GPL-3.0-or-later#pragma once// XPlasma's Start plasmoid (fyi.hotsocket.xplasma.start): the package, which// ships inside XPlasma and never changes with the look, and the look's data,// which does -- the Start button's images and the Start menu's art, as the// JSON the plasmoid takes in its "theme" setting.#include "app/look.h"#include "app/startbutton.h"
#include <QJsonObject>#include <QString>
namespace xpl {
constexpr const char *kStartPlasmoidId = "fyi.hotsocket.xplasma.start";// XPlasma's taskbar clock (in place of Plasma's): see clock/contents/ui/main.qml.constexpr const char *kClockPlasmoidId = "fyi.hotsocket.xplasma.clock";
// Installs the package under `plasmoids` (~/.local/share/plasma/plasmoids),// replacing what's there (xp2plasma's Kickoff fork had this id too).bool installStartPlasmoid(const QString &plasmoids, QString *error = nullptr);bool installClockPlasmoid(const QString &plasmoids, QString *error = nullptr);
// The look's Start data into `directory`: the button (with the flag from// the XP media, and the user's `extras`) and the menu. The JSON the plasmoid// is given, or empty with *error.QJsonObject writeStartTheme(const Look &look, const QString &directory, QString *error = nullptr, const StartButtonExtras &extras = {});
} // namespace xpl