#include "registration.h"
#include "ui_registration.h"
registration::registration(QWidget *parent) :
QWidget(parent),
ui(new Ui::registration)
{
ui->setupUi(this);
}
registration::~registration()
{
delete ui;
}
void registration::on_pushButton_clicked()
{
emit on_pushButton_clicked();;
}
void registration::on_lineEdit_Surn_textEdited(const QString &arg1)
{
registration::m_userSurname = arg1;
}
void registration::on_lineEdit_Name_textEdited(const QString &arg1)
{
registration::m_userName = arg1;
}
void registration::on_lineEdit_Pr_textEdited(const QString &arg1)
{
registration::m_userpatronymic = arg1;
}
void registration::on_lineEdit_login_textEdited(const QString &arg1)
{
registration::m_userLogin = arg1;
}
void registration::on_lineEdit_pas_textEdited(const QString &arg1)
{
registration::m_userPass = arg1;
}
void registration::on_lineEdit_2pas_textEdited(const QString &arg1)
{
registration::m_confirmation = arg1;
}
QString registration::getLogin()
{
return m_userLogin;
}
QString registration::getPass()
{
return m_userPass;
}
bool registration::checkPass()
{
return (m_confirmation == m_userPass);
}