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 @@ -30,17 +30,21 @@ class IRCServerList : public QDialog { Q_OBJECT public: IRCServerList(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags f = 0); + int exec(); + /* Check whether a server was selected */ + bool hasServer(); + /* Return the selected server */ + IRCServer server(); + ~IRCServerList(); public slots: void addServer(); void delServer(); void editServer(); protected: - void update(); -protected: - Config *m_config; - QListBox *m_list; + Config *m_config; + QListBox *m_list; }; #endif /* __IRCSERVERLIST_H */ |