Diffstat (limited to 'noncore/net/opieirc/ircperson.h') (more/less context) (show 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 @@ -23,31 +23,31 @@ #include <qstring.h> /* This class requires all required information relating to a person on the IRC network. This class can be used as an input mask for IRCMessage-prefixes too */ class IRCPerson { 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(); QString user(); QString host(); protected: QString m_nick; QString m_user; QString m_host; }; #endif /* __IRCPERSON */ |