Diffstat (limited to 'noncore/net/opieirc/ircserverlist.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircserverlist.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/net/opieirc/ircserverlist.h b/noncore/net/opieirc/ircserverlist.h index d61210e..869b26f 100644 --- a/noncore/net/opieirc/ircserverlist.h +++ b/noncore/net/opieirc/ircserverlist.h | |||
@@ -15,36 +15,37 @@ | |||
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 __IRCSERVERLIST_H | 21 | #ifndef __IRCSERVERLIST_H |
22 | #define __IRCSERVERLIST_H | 22 | #define __IRCSERVERLIST_H |
23 | 23 | ||
24 | #include <qdialog.h> | 24 | #include <qdialog.h> |
25 | #include <qpe/config.h> | 25 | #include <qpe/config.h> |
26 | #include <qlistbox.h> | 26 | #include <qlistbox.h> |
27 | #include <qlist.h> | 27 | #include <qlist.h> |
28 | #include "ircserver.h" | 28 | #include "ircserver.h" |
29 | 29 | ||
30 | class IRCServerList : public QDialog { | 30 | class IRCServerList : public QDialog { |
31 | Q_OBJECT | 31 | Q_OBJECT |
32 | public: | 32 | public: |
33 | IRCServerList(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags f = 0); | 33 | IRCServerList(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags f = 0); |
34 | int exec(); | 34 | int exec(); |
35 | /* Check whether a server was selected */ | 35 | /* Check whether a server was selected */ |
36 | bool hasServer(); | 36 | bool hasServer(); |
37 | /* Return the selected server */ | 37 | /* Return the selected server */ |
38 | IRCServer server(); | 38 | IRCServer server(); |
39 | 39 | ||
40 | ~IRCServerList(); | 40 | ~IRCServerList(); |
41 | public slots: | 41 | public slots: |
42 | void addServer(); | 42 | void addServer(); |
43 | void delServer(); | 43 | void delServer(); |
44 | void editServer(); | 44 | void editServer(); |
45 | void acceptOnClick(QListBoxItem*); | ||
45 | protected: | 46 | protected: |
46 | Config *m_config; | 47 | Config *m_config; |
47 | QListBox *m_list; | 48 | QListBox *m_list; |
48 | }; | 49 | }; |
49 | 50 | ||
50 | #endif /* __IRCSERVERLIST_H */ | 51 | #endif /* __IRCSERVERLIST_H */ |