mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-07-04 16:43:12 +02:00
31 lines
521 B
C++
31 lines
521 B
C++
#ifndef LOGIN_H
|
|
#define LOGIN_H
|
|
|
|
#include <QMainWindow>
|
|
|
|
namespace Ui {
|
|
class login;
|
|
}
|
|
|
|
class login : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit login(QWidget *parent = nullptr);
|
|
~login();
|
|
|
|
private slots:
|
|
|
|
private:
|
|
void loginUser();
|
|
void loginSuccessful(const QString &id, const QString &blogId);
|
|
void defineConnections() const;
|
|
void goRegister();
|
|
void exit() const;
|
|
QString findCurrentBlogId(const QJsonObject &blogs, const QString &id);
|
|
Ui::login *ui;
|
|
};
|
|
|
|
#endif // LOGIN_H
|