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/ircmisc.cpp') diff --git a/noncore/net/opieirc/ircmisc.cpp b/noncore/net/opieirc/ircmisc.cpp index 9b9bff8..6fc5ba0 100644 --- a/noncore/net/opieirc/ircmisc.cpp +++ b/noncore/net/opieirc/ircmisc.cpp @@ -67,6 +67,9 @@ OKeyConfigManager* IRCHistoryLineEdit::keyConfigInstance() { KeyNextTab, OKeyPair(Qt::Key_N, Qt::ControlButton) )); s_manager->addKeyConfig( OKeyConfigItem( tr("Previous Tab"), "prev_tab", QPixmap(), KeyPrevTab, OKeyPair(Qt::Key_P, Qt::ControlButton) )); + s_manager->addKeyConfig( OKeyConfigItem( tr("Close Tab"), "close_tab", + QPixmap(), KeyCloseTab, + OKeyPair(Qt::Key_C, Qt::ControlButton) )); s_manager->load(); } @@ -107,6 +110,8 @@ void IRCHistoryLineEdit::keyPressEvent(QKeyEvent *event) { case KeyPrevTab: emit prevTab(); return; + case KeyCloseTab: + emit closeTab(); default: break; } -- cgit v0.9.0.2