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 2.5
import QtQuick.Controls 2.1 import QtQuick.Controls 2.1
import com.github.nheko 1.0 import im.nheko 1.0
Rectangle { Rectangle {
id: indicator id: indicator

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
import QtQuick 2.6 import QtQuick 2.6
import com.github.nheko 1.0 import im.nheko 1.0
DelegateChooser { DelegateChooser {
//role: "type" //< not supported in our custom implementation, have to use roleValue //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 QtQuick.Controls 2.1
import QtMultimedia 5.6 import QtMultimedia 5.6
import com.github.nheko 1.0 import im.nheko 1.0
Rectangle { Rectangle {
id: bg id: bg

View File

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