Skip to content
Snippets Groups Projects
confighandler.h 471 B
Newer Older
  • Learn to ignore specific revisions
  • akiraohgaki's avatar
    akiraohgaki committed
    #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_;
    };