-rw-r--r-- | noncore/net/opieirc/ircperson.cpp | 10 | ||||
-rw-r--r-- | noncore/net/opieirc/ircperson.h | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/noncore/net/opieirc/ircperson.cpp b/noncore/net/opieirc/ircperson.cpp index 1dd2679..f673dee 100644 --- a/noncore/net/opieirc/ircperson.cpp +++ b/noncore/net/opieirc/ircperson.cpp | |||
@@ -14,3 +14,3 @@ IRCPerson::IRCPerson(const IRCPerson &person) { | |||
14 | 14 | ||
15 | IRCPerson::IRCPerson(QString mask) { | 15 | IRCPerson::IRCPerson(const QString &mask) { |
16 | IRCPerson(); | 16 | IRCPerson(); |
@@ -19,3 +19,3 @@ IRCPerson::IRCPerson(QString mask) { | |||
19 | 19 | ||
20 | void IRCPerson::fromMask(QString mask) { | 20 | void IRCPerson::fromMask(const QString &mask) { |
21 | int sep1 = mask.find("!"); | 21 | int sep1 = mask.find("!"); |
@@ -32,3 +32,3 @@ QString IRCPerson::toMask() { | |||
32 | 32 | ||
33 | void IRCPerson::setNick(QString nick) { | 33 | void IRCPerson::setNick(const QString &nick) { |
34 | m_nick = nick; | 34 | m_nick = nick; |
@@ -36,3 +36,3 @@ void IRCPerson::setNick(QString nick) { | |||
36 | 36 | ||
37 | void IRCPerson::setUser(QString user) { | 37 | void IRCPerson::setUser(const QString &user) { |
38 | m_user = user; | 38 | m_user = user; |
@@ -40,3 +40,3 @@ void IRCPerson::setUser(QString user) { | |||
40 | 40 | ||
41 | void IRCPerson::setHost(QString host) { | 41 | void IRCPerson::setHost(const QString &host) { |
42 | m_host = host; | 42 | m_host = host; |
diff --git a/noncore/net/opieirc/ircperson.h b/noncore/net/opieirc/ircperson.h index 38732c4..9854f95 100644 --- a/noncore/net/opieirc/ircperson.h +++ b/noncore/net/opieirc/ircperson.h | |||
@@ -34,3 +34,3 @@ public: | |||
34 | /* Create an IRCPerson from an IRC style description (nick!user@host) */ | 34 | /* Create an IRCPerson from an IRC style description (nick!user@host) */ |
35 | IRCPerson(QString mask); | 35 | IRCPerson(const QString &mask); |
36 | /* Copy constructor */ | 36 | /* Copy constructor */ |
@@ -38,6 +38,6 @@ public: | |||
38 | 38 | ||
39 | void fromMask(QString mask); | 39 | void fromMask(const QString &mask); |
40 | void setNick(QString name); | 40 | void setNick(const QString &name); |
41 | void setUser(QString user); | 41 | void setUser(const QString &user); |
42 | void setHost(QString host); | 42 | void setHost(const QString &host); |
43 | QString toMask(); | 43 | QString toMask(); |