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 @@ | |||
23 | 23 | ||
24 | #include <qstring.h> | 24 | #include <qstring.h> |
25 | 25 | ||
26 | /* This class requires all required information relating to a person | 26 | /* This class requires all required information relating to a person |
27 | on the IRC network. This class can be used as an input mask for | 27 | on the IRC network. This class can be used as an input mask for |
28 | IRCMessage-prefixes too | 28 | IRCMessage-prefixes too |
29 | */ | 29 | */ |
30 | 30 | ||
31 | class IRCPerson { | 31 | class IRCPerson { |
32 | public: | 32 | public: |
33 | IRCPerson(); | 33 | IRCPerson(); |
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 */ |
37 | IRCPerson(const IRCPerson &person); | 37 | IRCPerson(const IRCPerson &person); |
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(); |
44 | QString nick(); | 44 | QString nick(); |
45 | QString user(); | 45 | QString user(); |
46 | QString host(); | 46 | QString host(); |
47 | protected: | 47 | protected: |
48 | QString m_nick; | 48 | QString m_nick; |
49 | QString m_user; | 49 | QString m_user; |
50 | QString m_host; | 50 | QString m_host; |
51 | }; | 51 | }; |
52 | 52 | ||
53 | #endif /* __IRCPERSON */ | 53 | #endif /* __IRCPERSON */ |