mirror of
https://github.com/QuasarApp/QuasarAppLib.git
synced 2025-05-05 22:19:43 +00:00
fix #20 radme update
This commit is contained in:
parent
81e0ed8a19
commit
fd2aad7890
62
README.md
62
README.md
@ -1,63 +1,13 @@
|
|||||||
# QuasarAppLib
|
# QuasarAppLib
|
||||||
Global function for quasar app.
|
Global functions used in applications QuasarApp.
|
||||||
This lib include base functions for the all applications of QuasarApp group.
|
This lib include include next modules:
|
||||||
All methods of the Quasar AppUtils is static
|
|
||||||
|
|
||||||
* parseParams - parase input data of started application
|
* Locales - This module use for parse local files. This module allows you to work with translations.
|
||||||
* argc - count of arguments
|
|
||||||
* argv - arrat of arguments
|
|
||||||
* return true if all arguments read else false
|
|
||||||
|
|
||||||
------------------------
|
* Params - This module use for parese app params and create log.
|
||||||
* getStrArg - get string value of key
|
|
||||||
* key
|
|
||||||
* return string value of argument
|
|
||||||
|
|
||||||
------------------------
|
* Settings - This is a module that allows you to work with application settings.
|
||||||
* getArg - get string value of key
|
|
||||||
* key
|
|
||||||
* return string value of argument
|
|
||||||
|
|
||||||
------------------------
|
* Global - This module contains other global functions.
|
||||||
|
|
||||||
* isEndable - check if enable argument of key
|
|
||||||
* key
|
|
||||||
* return true if argument enabled
|
|
||||||
|
|
||||||
------------------------
|
|
||||||
* initLocale init translation of applictaion
|
|
||||||
* locale - string value of locale. example (en)
|
|
||||||
* app - app core of qt
|
|
||||||
* translator - translator core of qt
|
|
||||||
* return return true if locale funded
|
|
||||||
|
|
||||||
# QuasarAppLib
|
|
||||||
Глобальная функция для приложений quasar.
|
|
||||||
Эта библиотека включает базовые функции для всех приложений группы QuasarApp.
|
|
||||||
Все методы Quasar AppUtils являются статическими
|
|
||||||
|
|
||||||
* parseParams - парсит входные данные запускаемого приложения
|
|
||||||
* argc - количество аргументов
|
|
||||||
* argv - аргумент аргументов
|
|
||||||
* вернет true, если все аргументы прочитаны верно иначе false
|
|
||||||
|
|
||||||
------------------------
|
|
||||||
* getStrArg - получить строковое значение ключа
|
|
||||||
* возвращаемое строковое значение аргумента
|
|
||||||
|
|
||||||
------------------------
|
|
||||||
|
|
||||||
* getArg - получить строковое значение ключа
|
|
||||||
* возвращаемое строковое значение аргумента
|
|
||||||
|
|
||||||
------------------------
|
|
||||||
|
|
||||||
* isEndable - проверить, разрешен ли аргумент ключа
|
|
||||||
* вернет true, если аргумент включен
|
|
||||||
|
|
||||||
------------------------
|
|
||||||
* initLocale инициализирует перевод приложения
|
|
||||||
* locale - строковое значение locale. пример (en)
|
|
||||||
* app - ядро приложения qt
|
|
||||||
* translator - ядро переводчика qt
|
|
||||||
* вернет true, если все аргументы прочитаны верно иначе false
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user