summaryrefslogtreecommitdiffstats
path: root/data/userinfo.cpp
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-02-25 13:24:46 -0600
committerAndrew <forkk@forkk.net>2013-02-25 13:24:46 -0600
commit498225debdb22d83e591635dbd172cca12476279 (patch)
treee26d8f8de3bed7d22cfc25ee010c999b9481ec87 /data/userinfo.cpp
parenta7111b132873e0f1e00221b2ad734454d69889e3 (diff)
downloadMultiMC-498225debdb22d83e591635dbd172cca12476279.tar
MultiMC-498225debdb22d83e591635dbd172cca12476279.tar.gz
MultiMC-498225debdb22d83e591635dbd172cca12476279.tar.lz
MultiMC-498225debdb22d83e591635dbd172cca12476279.tar.xz
MultiMC-498225debdb22d83e591635dbd172cca12476279.zip
Rewrote the settings system. It may still need some work.
Diffstat (limited to 'data/userinfo.cpp')
-rw-r--r--data/userinfo.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/data/userinfo.cpp b/data/userinfo.cpp
index 907f93a2..0bb5da11 100644
--- a/data/userinfo.cpp
+++ b/data/userinfo.cpp
@@ -18,32 +18,32 @@
UserInfo::UserInfo(const QString &username, const QString &password, QObject *parent) :
QObject(parent)
{
- this->username = username;
- this->password = password;
+ this->m_username = username;
+ this->m_password = password;
}
UserInfo::UserInfo(const UserInfo &other)
{
- this->username = other.username;
- this->password = other.password;
+ this->m_username = other.m_username;
+ this->m_password = other.m_password;
}
-QString UserInfo::getUsername() const
+QString UserInfo::username() const
{
- return username;
+ return m_username;
}
void UserInfo::setUsername(const QString &username)
{
- this->username = username;
+ this->m_username = username;
}
-QString UserInfo::getPassword() const
+QString UserInfo::password() const
{
- return password;
+ return m_password;
}
void UserInfo::setPassword(const QString &password)
{
- this->password = password;
+ this->m_password = password;
}