Diffstat (limited to 'noncore/net/opieirc/ircserverlist.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircserverlist.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/noncore/net/opieirc/ircserverlist.h b/noncore/net/opieirc/ircserverlist.h index ad9231d..d61210e 100644 --- a/noncore/net/opieirc/ircserverlist.h +++ b/noncore/net/opieirc/ircserverlist.h | |||
@@ -22,25 +22,29 @@ | |||
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(); | ||
35 | /* Check whether a server was selected */ | ||
36 | bool hasServer(); | ||
37 | /* Return the selected server */ | ||
38 | IRCServer server(); | ||
39 | |||
34 | ~IRCServerList(); | 40 | ~IRCServerList(); |
35 | public slots: | 41 | public slots: |
36 | void addServer(); | 42 | void addServer(); |
37 | void delServer(); | 43 | void delServer(); |
38 | void editServer(); | 44 | void editServer(); |
39 | protected: | 45 | protected: |
40 | void update(); | 46 | Config *m_config; |
41 | protected: | 47 | QListBox *m_list; |
42 | Config *m_config; | ||
43 | QListBox *m_list; | ||
44 | }; | 48 | }; |
45 | 49 | ||
46 | #endif /* __IRCSERVERLIST_H */ | 50 | #endif /* __IRCSERVERLIST_H */ |