configurator/Configurator.h
Bernhard Rosenkränzer 7f0cd77b4e Initial import
Not much there yet, just a login dialog and an app list
JSON parser
2024-08-28 00:13:54 +02:00

21 lines
445 B
C++

#pragma once
#include <QApplication>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QJsonDocument>
#include <dialogs/FederatedLogin.h>
class Configurator:public QApplication {
Q_OBJECT
public:
Configurator(int &argc, char **&argv);
protected Q_SLOTS:
void loginRequested();
void appListReceived(QNetworkReply *reply);
private:
QNetworkAccessManager _nam;
FederatedLogin * _loginDialog;
QJsonDocument _services;
};