forked from Qortal/Brooklyn
21 lines
503 B
C++
21 lines
503 B
C++
/*
|
|
SPDX-FileCopyrightText: 2015 Kai Uwe Broulik <kde@privat.broulik.de>
|
|
|
|
SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#include "sessionsprivateplugin.h"
|
|
|
|
#include <QQmlEngine>
|
|
|
|
#include "sessionsmodel.h"
|
|
#include <sessionmanagement.h>
|
|
|
|
void SessionsPrivatePlugin::registerTypes(const char *uri)
|
|
{
|
|
Q_ASSERT(uri == QLatin1String("org.kde.plasma.private.sessions"));
|
|
|
|
qmlRegisterType<SessionManagement>(uri, 2, 0, "SessionManagement");
|
|
qmlRegisterType<SessionsModel>(uri, 2, 0, "SessionsModel");
|
|
}
|