Rewrote the settings system. It may still need some work.

This commit is contained in:
Andrew
2013-02-25 13:24:46 -06:00
parent a7111b1328
commit 498225debd
23 changed files with 783 additions and 272 deletions

View File

@@ -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;
}