diff --git a/QuasaraApp.pro b/QuasarApp.pro similarity index 92% rename from QuasaraApp.pro rename to QuasarApp.pro index 4a53b0f..8e0d9dd 100644 --- a/QuasaraApp.pro +++ b/QuasarApp.pro @@ -6,7 +6,7 @@ QT -= gui -TARGET = QuasaraApp +TARGET = QuasarApp TEMPLATE = lib DEFINES += QUASARAAPP_LIBRARY @@ -30,11 +30,11 @@ CONFIG(debug, debug|release): { } SOURCES += \ - quasaraapp.cpp + quasarapp.cpp HEADERS += \ - quasaraapp.h \ - quasaraapp_global.h + quasarapp.h \ + quasarapp_global.h unix { target.path = /usr/lib diff --git a/QuasarLib.pri b/QuasarLib.pri index bbdd17f..2f8eb9c 100644 --- a/QuasarLib.pri +++ b/QuasarLib.pri @@ -15,6 +15,6 @@ CONFIG(debug, debug|release): { OUTPUT_DIR_QUASARAPP = "$$PWD/build/release/bin" } -LIBS += -L"$$OUTPUT_DIR_QUASARAPP/" -lQuasaraApp +LIBS += -L"$$OUTPUT_DIR_QUASARAPP/" -lQuasarApp INCLUDEPATH += "$$PWD/" diff --git a/quasaraapp.cpp b/quasarapp.cpp similarity index 85% rename from quasaraapp.cpp rename to quasarapp.cpp index 07b3778..5d24337 100644 --- a/quasaraapp.cpp +++ b/quasarapp.cpp @@ -5,7 +5,7 @@ * of this license document, but changing it is not allowed. */ -#include "quasaraapp.h" +#include "quasarapp.h" #include #include #include @@ -13,7 +13,7 @@ static QVariantMap params = QVariantMap(); -bool QuasaraAppUtils::parseParams(int argc, char *argv[]) { +bool QuasarAppUtils::parseParams(int argc, char *argv[]) { params.clear(); params ["appPath"] = argv[0]; @@ -33,15 +33,15 @@ bool QuasaraAppUtils::parseParams(int argc, char *argv[]) { return true; } -QString QuasaraAppUtils::getStr(const QString& key) { +QString QuasarAppUtils::getStrArg(const QString& key) { return params.value(key, "").toString(); } -QVariant QuasaraAppUtils::get(const QString& key) { +QVariant QuasarAppUtils::getArg(const QString& key) { return params.value(key, ""); } -bool QuasaraAppUtils::isEndable(const QString& key) { +bool QuasarAppUtils::isEndable(const QString& key) { return params.contains(key); } diff --git a/quasaraapp.h b/quasarapp.h similarity index 94% rename from quasaraapp.h rename to quasarapp.h index 9f8a59e..4430d24 100644 --- a/quasaraapp.h +++ b/quasarapp.h @@ -8,7 +8,7 @@ #ifndef QUASARAAPP_H #define QUASARAAPP_H -#include "quasaraapp_global.h" +#include "quasarapp_global.h" #include @@ -20,11 +20,11 @@ class QTranslator; * this lib include base functions for the all applications of QuasarApp group. * all methods of the Quasar AppUtils is static */ -class QUASARAAPPSHARED_EXPORT QuasaraAppUtils +class QUASARAPPSHARED_EXPORT QuasarAppUtils { public: - QuasaraAppUtils() = delete; + QuasarAppUtils() = delete; /** * @brief parseParams - parase input data of started application diff --git a/quasaraapp_global.h b/quasarapp_global.h similarity index 62% rename from quasaraapp_global.h rename to quasarapp_global.h index 23eb4c7..23a2492 100644 --- a/quasaraapp_global.h +++ b/quasarapp_global.h @@ -4,9 +4,9 @@ #include #if defined(QUASARAAPP_LIBRARY) -# define QUASARAAPPSHARED_EXPORT Q_DECL_EXPORT +# define QUASARAPPSHARED_EXPORT Q_DECL_EXPORT #else -# define QUASARAAPPSHARED_EXPORT Q_DECL_IMPORT +# define QUASARAPPSHARED_EXPORT Q_DECL_IMPORT #endif #endif // QUASARAAPP_GLOBAL_H