summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircquerytab.cpp
authorzecke <zecke>2004-09-08 21:51:06 (UTC)
committer zecke <zecke>2004-09-08 21:51:06 (UTC)
commitebb830522c9662bda4c4453e532bcc29631c5d60 (patch) (unidiff)
tree5cf95975e91cb2db78be5cdf47c01a340109c1f4 /noncore/net/opieirc/ircquerytab.cpp
parentf0fdb800d57e9a1d95ba593185e9462300539eea (diff)
downloadopie-ebb830522c9662bda4c4453e532bcc29631c5d60.zip
opie-ebb830522c9662bda4c4453e532bcc29631c5d60.tar.gz
opie-ebb830522c9662bda4c4453e532bcc29631c5d60.tar.bz2
-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
Diffstat (limited to 'noncore/net/opieirc/ircquerytab.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircquerytab.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/noncore/net/opieirc/ircquerytab.cpp b/noncore/net/opieirc/ircquerytab.cpp
index 1fddc6d..53474b9 100644
--- a/noncore/net/opieirc/ircquerytab.cpp
+++ b/noncore/net/opieirc/ircquerytab.cpp
@@ -16,19 +16,22 @@ IRCQueryTab::IRCQueryTab(IRCPerson *person, IRCServerTab *parentTab, MainWindow
16 m_textview->setTextFormat(RichText); 16 m_textview->setTextFormat(RichText);
17 QWhatsThis::add(m_textview, tr("Private discussion")); 17 QWhatsThis::add(m_textview, tr("Private discussion"));
18 m_field = new IRCHistoryLineEdit(this); 18 m_field = new IRCHistoryLineEdit(this);
19
19 connect(m_field, SIGNAL(nextTab()), this, SIGNAL(nextTab())); 20 connect(m_field, SIGNAL(nextTab()), this, SIGNAL(nextTab()));
20 connect(m_field, SIGNAL(prevTab()), this, SIGNAL(prevTab())); 21 connect(m_field, SIGNAL(prevTab()), this, SIGNAL(prevTab()));
21 connect(m_field, SIGNAL(closeTab()),this, SIGNAL(closeTab())); 22 connect(m_field, SIGNAL(closeTab()),this, SLOT(remove()));
22 23 connect(this, SIGNAL(editFocus()), m_field, SLOT(setEditFocus()));
23 24
24 QWhatsThis::add(m_field, tr("Type your text here in order to send a message to the other person")); 25 QWhatsThis::add(m_field, tr("Type your text here in order to send a message to the other person"));
25 m_layout->add(hbox); 26 m_layout->add(hbox);
26 hbox->show(); 27 hbox->show();
27 m_layout->add(m_field); 28 m_layout->add(m_field);
28 m_field->setFocus(); 29
29 connect(m_field, SIGNAL(returnPressed()), this, SLOT(processCommand())); 30 connect(m_field, SIGNAL(returnPressed()), this, SLOT(processCommand()));
30 connect(m_mainWindow, SIGNAL(updateScroll()), this, SLOT(scrolling())); 31 connect(m_mainWindow, SIGNAL(updateScroll()), this, SLOT(scrolling()));
31 settingsChanged(); 32 settingsChanged();
33 m_field->setFocus();
34 m_field->setActiveWindow();
32} 35}
33 36
34void IRCQueryTab::scrolling(){ 37void IRCQueryTab::scrolling(){