Diffstat (limited to 'noncore/net/opieirc/ircserver.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircserver.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/net/opieirc/ircserver.h b/noncore/net/opieirc/ircserver.h index 5f06c73..f56f231 100644 --- a/noncore/net/opieirc/ircserver.h +++ b/noncore/net/opieirc/ircserver.h | |||
@@ -9,50 +9,50 @@ | |||
9 | 9 | ||
10 | This program is distributed in the hope that it will be useful, | 10 | This program is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | GNU General Public License for more details. | 13 | GNU General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 | 18 | ||
19 | */ | 19 | */ |
20 | 20 | ||
21 | #ifndef __IRCSERVER_H | 21 | #ifndef __IRCSERVER_H |
22 | #define __IRCSERVER_H | 22 | #define __IRCSERVER_H |
23 | 23 | ||
24 | #include <qstring.h> | 24 | #include <qstring.h> |
25 | 25 | ||
26 | /* IRCServer stores all information required to | 26 | /* IRCServer stores all information required to |
27 | establish a connection to a server. */ | 27 | establish a connection to a server. */ |
28 | 28 | ||
29 | class IRCServer { | 29 | class IRCServer { |
30 | public: | 30 | public: |
31 | IRCServer(); | 31 | IRCServer(); |
32 | 32 | ||
33 | void setName(QString name); | ||
33 | void setHostname(QString hostname); | 34 | void setHostname(QString hostname); |
34 | void setDescription(QString description); | ||
35 | void setPort(int port); | 35 | void setPort(int port); |
36 | void setUsername(QString username); | 36 | void setUsername(QString username); |
37 | void setPassword(QString password); | 37 | void setPassword(QString password); |
38 | void setNick(QString nick); | 38 | void setNick(QString nick); |
39 | void setRealname(QString realname); | 39 | void setRealname(QString realname); |
40 | 40 | ||
41 | QString hostname(); | 41 | QString hostname(); |
42 | QString description(); | 42 | QString name(); |
43 | unsigned short int port(); | 43 | unsigned short int port(); |
44 | QString username(); | 44 | QString username(); |
45 | QString password(); | 45 | QString password(); |
46 | QString nick(); | 46 | QString nick(); |
47 | QString realname(); | 47 | QString realname(); |
48 | protected: | 48 | protected: |
49 | QString m_hostname; | 49 | QString m_hostname; |
50 | QString m_description; | 50 | QString m_name; |
51 | unsigned short int m_port; | 51 | unsigned short int m_port; |
52 | QString m_username; | 52 | QString m_username; |
53 | QString m_password; | 53 | QString m_password; |
54 | QString m_nick; | 54 | QString m_nick; |
55 | QString m_realname; | 55 | QString m_realname; |
56 | }; | 56 | }; |
57 | 57 | ||
58 | #endif /* __IRCSERVER_H */ | 58 | #endif /* __IRCSERVER_H */ |