You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
503 B
20 lines
503 B
/* |
|
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"); |
|
}
|
|
|