#include "ui_autorization.h"
autorization::autorization(QWidget *parent)
: QMainWindow(parent),
ui(new Ui::autorization)
{
ui->setupUi(this);
}
autorization::~autorization()
{
delete ui;
}
void autorization::on_lineEdit_textEdited(const QString &arg1)
{
autorization::m_username = arg1;
}
void autorization::on_lineEdit_2_textEdited(const QString &arg1)
{
autorization::m_userpass = arg1;
}
void autorization::on_pushButton_clicked()
{
emit login_button_clicked();
}
void autorization::on_pushButton_2_clicked()
{
emit register_button_clicked();
}
QString autorization::getLogin()
{
return autorization::m_username;
}
QString autorization::getPass()
{
return autorization::m_userpass;
}