mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-07-04 18:23:15 +02:00
33 lines
503 B
C++
33 lines
503 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();
|
|
void thisIDDoesNotExist();
|
|
void loginUser();
|
|
void wrongPassword();
|
|
void loginSuccessful(const QString &id, const QString &blogId);
|
|
|
|
|
|
private slots:
|
|
|
|
private:
|
|
void defineConnections() const;
|
|
void goRegister();
|
|
void exit() const;
|
|
Ui::login *ui;
|
|
};
|
|
|
|
#endif // LOGIN_H
|