summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircserverlist.h
Side-by-side diff
Diffstat (limited to 'noncore/net/opieirc/ircserverlist.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opieirc/ircserverlist.h8
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
@@ -31,14 +31,18 @@ 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;
};