mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
17 lines
444 B
C++
17 lines
444 B
C++
|
|
// SPDX-FileCopyrightText: 2021 Tobias Fella <fella@posteo.de>
|
||
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
|
|
||
|
|
#include "mmqmlplugin.h"
|
||
|
|
|
||
|
|
#include <QQmlContext>
|
||
|
|
#include <QQmlEngine>
|
||
|
|
|
||
|
|
#include "signalindicator.h"
|
||
|
|
|
||
|
|
void MmQmlPlugin::registerTypes(const char *)
|
||
|
|
{
|
||
|
|
qmlRegisterSingletonType<SignalIndicator>("org.kde.plasma.mm", 1, 0, "SignalIndicator", [](QQmlEngine *, QJSEngine *) -> QObject * {
|
||
|
|
return new SignalIndicator();
|
||
|
|
});
|
||
|
|
}
|