You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
384 B
C++
39 lines
384 B
C++
9 years ago
|
#include "user.h"
|
||
|
|
||
|
User::User()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
int User::getId() const
|
||
|
{
|
||
|
return id;
|
||
|
}
|
||
|
|
||
|
void User::setId(int value)
|
||
|
{
|
||
|
id = value;
|
||
|
}
|
||
|
|
||
|
QString User::getLogin() const
|
||
|
{
|
||
|
return login;
|
||
|
}
|
||
|
|
||
|
void User::setLogin(const QString &value)
|
||
|
{
|
||
|
login = value;
|
||
|
}
|
||
|
|
||
|
QString User::getPassword() const
|
||
|
{
|
||
|
return password;
|
||
|
}
|
||
|
|
||
|
void User::setPassword(const QString &value)
|
||
|
{
|
||
|
password = value;
|
||
|
}
|
||
|
|
||
|
|
||
|
|