author | skyhusker <skyhusker> | 2005-01-26 22:22:55 (UTC) |
---|---|---|
committer | skyhusker <skyhusker> | 2005-01-26 22:22:55 (UTC) |
commit | 1752010f14bb7806bae6f83b349c9896a3005c75 (patch) (side-by-side diff) | |
tree | a43902f058fef91ed136622bb4f9964f1aa5441f /noncore/net/opieirc/ircperson.h | |
parent | d3ca4c7807c7a22837e481c1016c9814a68e00fb (diff) | |
download | opie-1752010f14bb7806bae6f83b349c9896a3005c75.zip opie-1752010f14bb7806bae6f83b349c9896a3005c75.tar.gz opie-1752010f14bb7806bae6f83b349c9896a3005c75.tar.bz2 |
Changed argument passing from value to const reference
Diffstat (limited to 'noncore/net/opieirc/ircperson.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircperson.h | 10 |
1 files changed, 5 insertions, 5 deletions
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 @@ -33,12 +33,12 @@ public: IRCPerson(); /* Create an IRCPerson from an IRC style description (nick!user@host) */ - IRCPerson(QString mask); + IRCPerson(const QString &mask); /* Copy constructor */ IRCPerson(const IRCPerson &person); - void fromMask(QString mask); - void setNick(QString name); - void setUser(QString user); - void setHost(QString host); + void fromMask(const QString &mask); + void setNick(const QString &name); + void setUser(const QString &user); + void setHost(const QString &host); QString toMask(); QString nick(); |