From ebb830522c9662bda4c4453e532bcc29631c5d60 Mon Sep 17 00:00:00 2001 From: zecke Date: Wed, 08 Sep 2004 21:51:06 +0000 Subject: -Close Tab Keyboard Accelerator with delayed deletion of the tab -Optionally add a TimeStamp to the Tab -Remove not implemented CTCP actions from the Channel PopupMenu -Give Focus to the Edit Line -Some more ping handling patch inspired and copied from zautrix fork --- (limited to 'noncore/net/opieirc/ircserverlist.cpp') diff --git a/noncore/net/opieirc/ircserverlist.cpp b/noncore/net/opieirc/ircserverlist.cpp index 62bfc17..3e78469 100644 --- a/noncore/net/opieirc/ircserverlist.cpp +++ b/noncore/net/opieirc/ircserverlist.cpp @@ -82,6 +82,11 @@ IRCServerList::IRCServerList(QWidget* parent, const char *name, bool modal, WFla } } + connect(m_list, SIGNAL(doubleClicked(QListBoxItem*)), + this, SLOT(acceptOnClick(QListBoxItem *))); + connect(m_list, SIGNAL(returnPressed(QListBoxItem*)), + this, SLOT(acceptOnClick(QListBoxItem*))); + QPEApplication::showDialog( this ); } @@ -122,6 +127,10 @@ void IRCServerList::editServer() } } +void IRCServerList::acceptOnClick( QListBoxItem* ) { + accept(); +} + int IRCServerList::exec() { int returncode = QDialog::exec(); -- cgit v0.9.0.2