author | wazlaf <wazlaf> | 2002-09-11 22:22:04 (UTC) |
---|---|---|
committer | wazlaf <wazlaf> | 2002-09-11 22:22:04 (UTC) |
commit | 4864665ad76095620fdf5aa19d24f05967f32b40 (patch) (unidiff) | |
tree | 4b3e371b5da03292ce09f7e388885dd3ec049ff8 /noncore/net/opieirc/ircserverlist.h | |
parent | 7ab82ad13aaf708ffba4bf4294d29b789007ddde (diff) | |
download | opie-4864665ad76095620fdf5aa19d24f05967f32b40.zip opie-4864665ad76095620fdf5aa19d24f05967f32b40.tar.gz opie-4864665ad76095620fdf5aa19d24f05967f32b40.tar.bz2 |
serverlist browser
Diffstat (limited to 'noncore/net/opieirc/ircserverlist.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircserverlist.h | 8 |
1 files changed, 6 insertions, 2 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(); | ||
41 | protected: | ||
42 | Config *m_config; | 46 | Config *m_config; |
43 | QListBox *m_list; | 47 | QListBox *m_list; |
44 | }; | 48 | }; |
45 | 49 | ||
46 | #endif /* __IRCSERVERLIST_H */ | 50 | #endif /* __IRCSERVERLIST_H */ |