fix readme

This commit is contained in:
Andrei Yankovich 2021-05-27 10:12:43 +03:00
parent cdeab90d82
commit 61b683c059
7 changed files with 8 additions and 18 deletions

2
CMake

@ -1 +1 @@
Subproject commit b32cca62386311ec32f16c0bbf13df446ace5873
Subproject commit cd05493c3a43b04f26c3e3432df4283eb4509d8c

View File

@ -9,7 +9,7 @@ Simple Qml notification service for qml applications.
* git submodule add https://github.com/QuasarApp/SimpleQmlNotify.git # add the repository of QSimpleQmlNotify into your repo like submodule
* git submodule update --init --recursive
* Include in your pro file the pri file of Qt-Secret library
``` qmake
```qmake
include($$PWD/SimpleQmlNotify/QmlNotify.pri)
```
* Rebuild yuor project
@ -21,7 +21,7 @@ Simple Qml notification service for qml applications.
* git submodule add https://github.com/QuasarApp/SimpleQmlNotify.git # add the repository of QSimpleQmlNotify into your repo like submodule
* git submodule update --init --recursive
* Include in your CMakeLists.txt file the main CMakeLists.txt file of QSimpleQmlNotify library
``` cmake
```cmake
include(QmlNotyfyService)
```
* Rebuild yuor project
@ -43,7 +43,7 @@ Simple Qml notification service for qml applications.
### Notification
#### CPP
``` cpp
```cpp
#include <qmlnotifyservice.h>
int main() {
@ -57,7 +57,7 @@ Simple Qml notification service for qml applications.
#### QML
``` qml
```qml
NotificationServiceView {
anchors.fill: parent;
@ -69,7 +69,7 @@ Simple Qml notification service for qml applications.
#### CPP
``` cpp
```cpp
#include <qmlnotifyservice.h>
int main() {
@ -92,7 +92,7 @@ Simple Qml notification service for qml applications.
#### QML
``` qml
```qml
NotificationServiceView {
anchors.fill: parent;
@ -124,4 +124,4 @@ if(!QuasarAppUtils::Locales::init(locale, {":/qmlNotify_languages/"})) {
```
Or you can manually load needed qm file.
All qm files located in qmlNotify_languages folder.
All qm files located in qmlNotify_languages folder.

View File

@ -4,8 +4,6 @@
<context>
<name>NotificationForm</name>
<message>
<location filename="../NotifyModule/NotificationForm.qml" line="16"/>
<location filename="../NotifyModule/NotificationForm.qml" line="18"/>
<source>Message</source>
<translation>Message</translation>
</message>

View File

@ -4,8 +4,6 @@
<context>
<name>NotificationForm</name>
<message>
<location filename="../NotifyModule/NotificationForm.qml" line="16"/>
<location filename="../NotifyModule/NotificationForm.qml" line="18"/>
<source>Message</source>
<translation></translation>
</message>

View File

@ -4,8 +4,6 @@
<context>
<name>NotificationForm</name>
<message>
<location filename="../NotifyModule/NotificationForm.qml" line="16"/>
<location filename="../NotifyModule/NotificationForm.qml" line="18"/>
<source>Message</source>
<translation>Cообщение</translation>
</message>

View File

@ -4,8 +4,6 @@
<context>
<name>NotificationForm</name>
<message>
<location filename="../NotifyModule/NotificationForm.qml" line="16"/>
<location filename="../NotifyModule/NotificationForm.qml" line="18"/>
<source>Message</source>
<translation>İleti</translation>
</message>

View File

@ -4,8 +4,6 @@
<context>
<name>NotificationForm</name>
<message>
<location filename="../NotifyModule/NotificationForm.qml" line="16"/>
<location filename="../NotifyModule/NotificationForm.qml" line="18"/>
<source>Message</source>
<translation>Повідомлення</translation>
</message>