Browse Source

app renaming

pull/2/head
Skycoder42 7 years ago
parent
commit
4272924d08
  1. 2
      examples/mvvmquick/SampleQuick/main.qml
  2. 4
      src/imports/mvvmcore/plugins.qmltypes
  3. 4
      src/imports/mvvmcore/qtmvvmcore_plugin.cpp
  4. 0
      src/imports/mvvmquick/QtMvvmApp.qml
  5. 2
      src/imports/mvvmquick/mvvmquick.pro
  6. 2
      src/imports/mvvmquick/qmldir

2
examples/mvvmquick/SampleQuick/main.qml

@ -2,6 +2,6 @@ import QtQuick 2.10
import de.skycoder42.qtmvvm.core 1.0 import de.skycoder42.qtmvvm.core 1.0
import de.skycoder42.qtmvvm.quick 1.0 import de.skycoder42.qtmvvm.quick 1.0
App { QtMvvmApp {
title: qsTr("QtMvvm Quick Sample") title: qsTr("QtMvvm Quick Sample")
} }

4
src/imports/mvvmcore/plugins.qmltypes

@ -11,7 +11,7 @@ Module {
Component { Component {
name: "QtMvvm::QQmlMvvmBinding" name: "QtMvvm::QQmlMvvmBinding"
prototype: "QObject" prototype: "QObject"
exports: ["de.skycoder42.qtmvvm.core/QtMvvmBinding 1.0"] exports: ["de.skycoder42.qtmvvm.core/Binding 1.0"]
exportMetaObjectRevisions: [0] exportMetaObjectRevisions: [0]
Enum { Enum {
name: "BindingDirection" name: "BindingDirection"
@ -57,7 +57,7 @@ Module {
Component { Component {
name: "QtMvvm::QQmlMvvmMessage" name: "QtMvvm::QQmlMvvmMessage"
prototype: "QObject" prototype: "QObject"
exports: ["de.skycoder42.qtmvvm.core/QtMvvmMessage 1.0"] exports: ["de.skycoder42.qtmvvm.core/Message 1.0"]
isCreatable: false isCreatable: false
isSingleton: true isSingleton: true
exportMetaObjectRevisions: [0] exportMetaObjectRevisions: [0]

4
src/imports/mvvmcore/qtmvvmcore_plugin.cpp

@ -18,6 +18,6 @@ void QtMvvmCoreDeclarativeModule::registerTypes(const char *uri)
{ {
Q_ASSERT(qstrcmp(uri, "de.skycoder42.qtmvvm.core") == 0); Q_ASSERT(qstrcmp(uri, "de.skycoder42.qtmvvm.core") == 0);
qmlRegisterType<QtMvvm::QQmlMvvmBinding>(uri, 1, 0, "QtMvvmBinding"); qmlRegisterType<QtMvvm::QQmlMvvmBinding>(uri, 1, 0, "Binding");
qmlRegisterSingletonType<QtMvvm::QQmlMvvmMessage>(uri, 1, 0, "QtMvvmMessage", createMessageSingleton); qmlRegisterSingletonType<QtMvvm::QQmlMvvmMessage>(uri, 1, 0, "Message", createMessageSingleton);
} }

0
src/imports/mvvmquick/App.qml → src/imports/mvvmquick/QtMvvmApp.qml

2
src/imports/mvvmquick/mvvmquick.pro

@ -13,7 +13,7 @@ SOURCES += \
qqmlquickpresenter.cpp qqmlquickpresenter.cpp
QML_FILES += \ QML_FILES += \
App.qml \ QtMvvmApp.qml \
PresentingStackView.qml \ PresentingStackView.qml \
PresenterProgress.qml PresenterProgress.qml

2
src/imports/mvvmquick/qmldir

@ -3,6 +3,6 @@ plugin declarative_mvvmquick
classname QtMvvmQuickDeclarativeModule classname QtMvvmQuickDeclarativeModule
typeinfo plugins.qmltypes typeinfo plugins.qmltypes
App 1.0 App.qml QtMvvmApp 1.0 QtMvvmApp.qml
PresenterProgress 1.0 PresenterProgress.qml PresenterProgress 1.0 PresenterProgress.qml
PresentingStackView 1.0 PresentingStackView.qml PresentingStackView 1.0 PresentingStackView.qml

Loading…
Cancel
Save