Diffstat (limited to 'noncore/net/opieirc/ircserverlist.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircserverlist.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircserverlist.h b/noncore/net/opieirc/ircserverlist.h new file mode 100644 index 0000000..ad9231d --- a/dev/null +++ b/noncore/net/opieirc/ircserverlist.h | |||
@@ -0,0 +1,46 @@ | |||
1 | /* | ||
2 | OpieIRC - An embedded IRC client | ||
3 | Copyright (C) 2002 Wenzel Jakob | ||
4 | |||
5 | This program is free software; you can redistribute it and/or modify | ||
6 | it under the terms of the GNU General Public License as published by | ||
7 | the Free Software Foundation; either version 2 of the License, or | ||
8 | (at your option) any later version. | ||
9 | |||
10 | This program is distributed in the hope that it will be useful, | ||
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | GNU General Public License for more details. | ||
14 | |||
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 | ||
17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
18 | |||
19 | */ | ||
20 | |||
21 | #ifndef __IRCSERVERLIST_H | ||
22 | #define __IRCSERVERLIST_H | ||
23 | |||
24 | #include <qdialog.h> | ||
25 | #include <qpe/config.h> | ||
26 | #include <qlistbox.h> | ||
27 | #include <qlist.h> | ||
28 | #include "ircserver.h" | ||
29 | |||
30 | class IRCServerList : public QDialog { | ||
31 | Q_OBJECT | ||
32 | public: | ||
33 | IRCServerList(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags f = 0); | ||
34 | ~IRCServerList(); | ||
35 | public slots: | ||
36 | void addServer(); | ||
37 | void delServer(); | ||
38 | void editServer(); | ||
39 | protected: | ||
40 | void update(); | ||
41 | protected: | ||
42 | Config *m_config; | ||
43 | QListBox *m_list; | ||
44 | }; | ||
45 | |||
46 | #endif /* __IRCSERVERLIST_H */ | ||