Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Commit 133664d

Browse files
authored
Merge pull request #2 from paul70078/master
fixed typo 'shure' to 'sure'
2 parents 61a404e + ea47a2e commit 133664d

File tree

13 files changed

+16
-16
lines changed

13 files changed

+16
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ The most important part is to know how to add new ViewModels and Views.
120120

121121
#### Create the ViewModel
122122
- Add a new c++ class to your core project. Let it inherit from `QtMvvm::ViewModel`
123-
- Make shure the Constructor has the following signature: `Q_INVOKABLE MyClass(QObject *parent);`
123+
- Make sure the Constructor has the following signature: `Q_INVOKABLE MyClass(QObject *parent);`
124124
- See [`examples/mvvmcore/SampleCore/sampleviewmodel.h`](examples/mvvmcore/SampleCore/sampleviewmodel.h) for an example ViewModel
125125

126126
#### Create the View for QtWidgets

doc/binding.dox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ To control the directions, i.e. which properties should trigger an update on cha
5050
only get updated, use the `type` parameter.
5151

5252
@attention Unlike the QML variant, this binding **does not handle binding loops**. THis means if
53-
you use a two way binding, make shure change signals are only emitted when the value does actually
53+
you use a two way binding, make sure change signals are only emitted when the value does actually
5454
change. Otherwise your application is caught up in a binding loop and will eventually crash. Using
5555
two seperate one way bindings will not prevent this.
5656

doc/serviceregistry.dox

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ automatically injected on construction.
134134
If the service is registered as weak, registering another service for the same interface will
135135
not throw an exception but instead discard (and delete) this one.
136136

137-
@attention Make shure to register TInterface via QtMvvm::registerInterfaceConverter, otherwise
137+
@attention Make sure to register TInterface via QtMvvm::registerInterfaceConverter, otherwise
138138
injection for the interface is not possible. In addition to this, TService must have an
139139
invokable constructor with the following signature:
140140
`Q_INVOKABLE explicit TService(QObject *parent = nullptr);`
@@ -172,7 +172,7 @@ of this function.
172172
If the service is registered as weak, registering another service for the same interface will
173173
not throw an exception but instead discard (and delete) this one.
174174

175-
@attention Make shure to register TInterface via QtMvvm::registerInterfaceConverter, otherwise
175+
@attention Make sure to register TInterface via QtMvvm::registerInterfaceConverter, otherwise
176176
injection for the interface is not possible.
177177

178178
@sa ServiceRegistry::registerPlugin, ServiceRegistry::registerObject,
@@ -198,7 +198,7 @@ registry. No DI is performed on the passed service.
198198
If the service is registered as weak, registering another service for the same interface will
199199
not throw an exception but instead discard (and delete) this one.
200200

201-
@attention Make shure to register TInterface via QtMvvm::registerInterfaceConverter, otherwise
201+
@attention Make sure to register TInterface via QtMvvm::registerInterfaceConverter, otherwise
202202
injection for the interface is not possible.
203203

204204
@sa ServiceRegistry::registerPlugin, ServiceRegistry::registerObject,
@@ -276,7 +276,7 @@ performed on the passed service.
276276
If the service is registered as weak, registering another service for the same TService will
277277
not throw an exception but instead discard (and delete) this one.
278278

279-
@attention Make shure to register TInterface via QtMvvm::registerInterfaceConverter, otherwise
279+
@attention Make sure to register TInterface via QtMvvm::registerInterfaceConverter, otherwise
280280
injection for the interface is not possible.
281281

282282
@sa ServiceRegistry::registerInterface, ServiceRegistry::registerPlugin,

doc/widgetspresenter.dox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ it is presented as QMdiSubWindow. For all other cases, showForeground() is calle
124124
@param view The view to be presented
125125

126126
This method is called by tryPresent() to simply show a standard window. The method however
127-
does not only show the window, but also makes shure it becomes the currently active
127+
does not only show the window, but also makes sure it becomes the currently active
128128
foreground window.
129129

130130
@sa WidgetsPresenter::tryPresent

src/imports/mvvmcore/qtmvvmcore_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ void QtMvvmCoreDeclarativeModule::registerTypes(const char *uri)
5757
qmlRegisterSingletonType<QtMvvm::QQmlServiceRegistry>(uri, 1, 1, "ServiceRegistry", createRegistrySingleton);
5858
qmlRegisterSingletonType<QtMvvm::QQmlCoreApp>(uri, 1, 1, "CoreApp", createCoreAppSingleton);
5959

60-
// Check to make shure no module update is forgotten
60+
// Check to make sure no module update is forgotten
6161
static_assert(VERSION_MAJOR == 1 && VERSION_MINOR == 1, "QML module version needs to be updated");
6262
}

src/imports/mvvmdatasynccore/qtmvvmdatasynccore_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ void QtMvvmDataSyncCoreDeclarativeModule::registerTypes(const char *uri)
3737
qmlRegisterUncreatableType<QtMvvm::DataSyncSettingsEntry>(uri, 1, 1, "DataSyncSettingsEntry", QStringLiteral("Q_GADGETs cannot be created from QML"));
3838
qmlRegisterUncreatableType<QtMvvm::DataSyncSettingsViewModel>(uri, 1, 1, "DataSyncSettingsViewModel", QStringLiteral("ViewModels cannot be created from QML"));
3939

40-
// Check to make shure no module update is forgotten
40+
// Check to make sure no module update is forgotten
4141
static_assert(VERSION_MAJOR == 1 && VERSION_MINOR == 1, "QML module version needs to be updated");
4242
}

src/imports/mvvmdatasyncquick/qtmvvmdatasyncquick_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ void QtMvvmDataSyncQuickDeclarativeModule::registerTypes(const char *uri)
2626
//Version 1.1
2727
qmlRegisterModule(uri, 1, 1);
2828

29-
// Check to make shure no module update is forgotten
29+
// Check to make sure no module update is forgotten
3030
static_assert(VERSION_MAJOR == 1 && VERSION_MINOR == 1, "QML module version needs to be updated");
3131
}

src/imports/mvvmquick/AlertDialog.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import QtQuick.Window 2.2
66
*
77
* @extends QtQuick.Controls.Dialog
88
*
9-
* @details This version basically adjusts size and makes shure the dialog always appears in
9+
* @details This version basically adjusts size and makes sure the dialog always appears in
1010
* center of the application. It even takes a possible input method into accout
1111
*/
1212
Dialog {

src/imports/mvvmquick/DialogPresenter.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ QtObject {
6262
*
6363
* As soon as there is at least a single open dialog, this property gets false. Only when
6464
* no dialogs are show is it true. This property is always updated from within the
65-
* closeAction() method, so you can be shure that it is true after the last dialog was
65+
* closeAction() method, so you can be sure that it is true after the last dialog was
6666
* closed that way.
6767
*
6868
* @accessors{

src/imports/mvvmquick/PopupPresenter.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ QtObject {
6161
*
6262
* As soon as there is at least a single open popup, this property gets false. Only when
6363
* no popups are show is it true. This property is always updated from within the
64-
* closeAction() method, so you can be shure that it is true after the last popup was
64+
* closeAction() method, so you can be sure that it is true after the last popup was
6565
* closed that way.
6666
*
6767
* @accessors{

0 commit comments

Comments
 (0)