Forked from
akiraohgaki / ocs-url
219 commits behind the upstream repository.
-
akiraohgaki authoredakiraohgaki authored
confighandler.h 471 B
#pragma once
#include <QObject>
#include <QJsonObject>
#include "qtlib_config.h"
class ConfigHandler : public QObject
{
Q_OBJECT
public:
explicit ConfigHandler(QObject *parent = 0);
public slots:
QJsonObject getAppConfigApplication();
QJsonObject getAppConfigInstallTypes();
private:
QString convertPathString(const QString &path);
qtlib::Config appConfig_;
QJsonObject appConfigApplication_;
QJsonObject appConfigInstallTypes_;
};