Rename qml namespace from com.github.nheko to im.nheko

This commit is contained in:
Nicolas Werner 2019-11-30 01:43:39 +01:00
parent bf94d8e43a
commit 6c2ec3fe67
8 changed files with 10 additions and 10 deletions

View file

@ -1,6 +1,6 @@
import QtQuick 2.5
import QtQuick.Controls 2.1
import com.github.nheko 1.0
import im.nheko 1.0
Rectangle {
id: indicator

View file

@ -1,6 +1,6 @@
import QtQuick 2.5
import QtQuick.Controls 2.1
import com.github.nheko 1.0
import im.nheko 1.0
Rectangle {
id: indicator

View file

@ -3,7 +3,7 @@ import QtQuick.Controls 2.3
import QtQuick.Layouts 1.2
import QtQuick.Window 2.2
import com.github.nheko 1.0
import im.nheko 1.0
import "./delegates"

View file

@ -4,7 +4,7 @@ import QtQuick.Layouts 1.2
import QtGraphicalEffects 1.0
import QtQuick.Window 2.2
import com.github.nheko 1.0
import im.nheko 1.0
import "./delegates"

View file

@ -1,6 +1,6 @@
import QtQuick 2.6
import com.github.nheko 1.0
import im.nheko 1.0
Item {
width: Math.min(parent ? parent.width : undefined, model.width)

View file

@ -1,5 +1,5 @@
import QtQuick 2.6
import com.github.nheko 1.0
import im.nheko 1.0
DelegateChooser {
//role: "type" //< not supported in our custom implementation, have to use roleValue

View file

@ -3,7 +3,7 @@ import QtQuick.Layouts 1.2
import QtQuick.Controls 2.1
import QtMultimedia 5.6
import com.github.nheko 1.0
import im.nheko 1.0
Rectangle {
id: bg

View file

@ -55,13 +55,13 @@ TimelineViewManager::TimelineViewManager(QWidget *parent)
, colorImgProvider(new ColorImageProvider())
{
qmlRegisterUncreatableMetaObject(qml_mtx_events::staticMetaObject,
"com.github.nheko",
"im.nheko",
1,
0,
"MtxEvent",
"Can't instantiate enum!");
qmlRegisterType<DelegateChoice>("com.github.nheko", 1, 0, "DelegateChoice");
qmlRegisterType<DelegateChooser>("com.github.nheko", 1, 0, "DelegateChooser");
qmlRegisterType<DelegateChoice>("im.nheko", 1, 0, "DelegateChoice");
qmlRegisterType<DelegateChooser>("im.nheko", 1, 0, "DelegateChooser");
#ifdef USE_QUICK_VIEW
view = new QQuickView();