2024-08-27 22:13:54 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QApplication>
|
|
|
|
#include <QNetworkAccessManager>
|
|
|
|
#include <QNetworkReply>
|
2024-08-29 11:21:00 +00:00
|
|
|
|
2024-08-27 22:13:54 +00:00
|
|
|
#include <dialogs/FederatedLogin.h>
|
2024-08-29 11:21:00 +00:00
|
|
|
#include <lib/Service.h>
|
2024-08-27 22:13:54 +00:00
|
|
|
|
|
|
|
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;
|
2024-08-29 11:21:00 +00:00
|
|
|
Services _services;
|
2024-08-27 22:13:54 +00:00
|
|
|
};
|