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

pull/100/head
Nicolas Werner 5 years ago
parent bf94d8e43a
commit 6c2ec3fe67
  1. 2
      resources/qml/EncryptionIndicator.qml
  2. 2
      resources/qml/StatusIndicator.qml
  3. 2
      resources/qml/TimelineRow.qml
  4. 2
      resources/qml/TimelineView.qml
  5. 2
      resources/qml/delegates/ImageMessage.qml
  6. 2
      resources/qml/delegates/MessageDelegate.qml
  7. 2
      resources/qml/delegates/PlayableMediaMessage.qml
  8. 6
      src/timeline/TimelineViewManager.cpp

@ -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

@ -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

@ -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"

@ -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"

@ -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)

@ -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

@ -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

@ -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();

Loading…
Cancel
Save