Added existing sources
This commit is contained in:
1 parent
fbf5946ece
commit
df3657911a
35 files changed
+3866
-29
No files matched your search
@@ -0,0 +1,34 @@
|
||||
#include "authenticationdialog.h"
|
||||
#include "ui_authenticationdialog.h"
|
||||
|
||||
AuthenticationDialog::AuthenticationDialog(QWidget *parent) :
|
||||
QDialog(parent),
|
||||
ui(new Ui::AuthenticationDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
AuthenticationDialog::~AuthenticationDialog()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
QString AuthenticationDialog::username() const
|
||||
{
|
||||
return ui->lineEditUsername->text();
|
||||
}
|
||||
|
||||
void AuthenticationDialog::setUsername(const QString &username)
|
||||
{
|
||||
ui->lineEditUsername->setText(username);
|
||||
}
|
||||
|
||||
QString AuthenticationDialog::password() const
|
||||
{
|
||||
return ui->lineEditPassword->text();
|
||||
}
|
||||
|
||||
void AuthenticationDialog::setPassword(const QString &password)
|
||||
{
|
||||
ui->lineEditPassword->setText(password);
|
||||
}
|
||||
Reference in new issue
Block a user