mirror of
https://github.com/QuasarApp/QuasarAppLib.git
synced 2025-05-07 06:59:44 +00:00
fix name
This commit is contained in:
parent
09bb8b740c
commit
920ca5e046
@ -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
|
@ -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/"
|
||||
|
@ -5,7 +5,7 @@
|
||||
* of this license document, but changing it is not allowed.
|
||||
*/
|
||||
|
||||
#include "quasaraapp.h"
|
||||
#include "quasarapp.h"
|
||||
#include <QVariantMap>
|
||||
#include <QDebug>
|
||||
#include <QCoreApplication>
|
||||
@ -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);
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
#ifndef QUASARAAPP_H
|
||||
#define QUASARAAPP_H
|
||||
|
||||
#include "quasaraapp_global.h"
|
||||
#include "quasarapp_global.h"
|
||||
#include <QVariant>
|
||||
|
||||
|
||||
@ -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
|
@ -4,9 +4,9 @@
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
#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
|
Loading…
x
Reference in New Issue
Block a user