summaryrefslogtreecommitdiffstats
path: root/framework/actions/actionplugin.cpp
blob: b55504fc90475bc1fa831dfb2fa2d7111f5a6343 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "actionplugin.h"

#include "action.h"
#include "context.h"
#include "actionhandler.h"
#include "actionresult.h"

#include <QtQml>

void KubePlugin::registerTypes (const char *uri)
{
    qmlRegisterType<Kube::Context>(uri, 1, 0, "Context");
    qmlRegisterType<Kube::Action>(uri, 1, 0, "Action");
    qmlRegisterType<Kube::ActionHandler>(uri, 1, 0, "ActionHandler");
    qmlRegisterType<Kube::ActionResult>(uri, 1, 0, "ActionResult");
}