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.
15 lines
440 B
15 lines
440 B
/* |
|
SPDX-FileCopyrightText: 2016 Chinmoy Ranjan Pradhan <chinmoyrp65@gmail.com> |
|
|
|
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL |
|
*/ |
|
|
|
#include "appmenuplugin.h" |
|
#include "appmenumodel.h" |
|
#include <QQmlEngine> |
|
|
|
void AppmenuPlugin::registerTypes(const char *uri) |
|
{ |
|
Q_ASSERT(uri == QLatin1String("org.kde.plasma.private.appmenu")); |
|
qmlRegisterType<AppMenuModel>(uri, 1, 0, "AppMenuModel"); |
|
}
|
|
|