File: KonsoleQML.cpp

package info (click to toggle)
qmlkonsole 25.12.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,680 kB
  • sloc: cpp: 12,794; xml: 345; makefile: 3; sh: 1
file content (18 lines) | stat: -rw-r--r-- 463 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-FileCopyrightText: 2023 Jonah BrĂ¼chert <jbb@kaidan.im>
// SPDX-License-Identifier: GPL-2.0-or-later

#include "KonsoleQML.h"

#include "TerminalDisplay.h"
#include "TerminalSession.h"

#include <QQmlEngine>

using namespace Konsole;

void KonsoleQML::registerTypes(const char *uri)
{
    // @uri org.kde.konsoleqml
    qmlRegisterType<TerminalDisplay>(uri, 1, 0, "TerminalEmulator");
    qmlRegisterType<TerminalSession>(uri, 1, 0, "TerminalSession");
}