mirror-chatterino2/src/ircaccount.cpp

35 lines
637 B
C++
Raw Normal View History

2017-06-11 09:31:45 +02:00
#include "ircaccount.hpp"
2017-04-12 17:46:44 +02:00
2017-04-14 17:52:22 +02:00
namespace chatterino {
2017-04-12 17:46:44 +02:00
2017-09-21 12:15:01 +02:00
IrcUser2::IrcUser2(const QString &_userName, const QString &_nickName, const QString &_realName,
const QString &_password)
: userName(_userName)
, nickName(_nickName)
, realName(_realName)
, password(_password)
2017-04-12 17:46:44 +02:00
{
}
const QString &IrcUser2::getUserName() const
{
2017-09-21 12:15:01 +02:00
return this->userName;
2017-04-12 17:46:44 +02:00
}
const QString &IrcUser2::getNickName() const
{
2017-09-21 12:15:01 +02:00
return this->nickName;
2017-04-12 17:46:44 +02:00
}
const QString &IrcUser2::getRealName() const
{
2017-09-21 12:15:01 +02:00
return this->realName;
2017-04-12 17:46:44 +02:00
}
const QString &IrcUser2::getPassword() const
{
2017-09-21 12:15:01 +02:00
return this->password;
2017-04-12 17:46:44 +02:00
}
} // namespace chatterino