From 8f18e8b46dfaaa7e03b9ed1f3faed12da5b30cd5 Mon Sep 17 00:00:00 2001 From: zecke Date: Mon, 06 Sep 2004 22:47:48 +0000 Subject: -Some keyboard handling -ping notification merge of zautrixs work --- (limited to 'noncore/net/opieirc/irctab.cpp') diff --git a/noncore/net/opieirc/irctab.cpp b/noncore/net/opieirc/irctab.cpp index 3351c3b..8e1dc16 100644 --- a/noncore/net/opieirc/irctab.cpp +++ b/noncore/net/opieirc/irctab.cpp @@ -2,6 +2,7 @@ #include #include #include "irctab.h" +#include "mainwindow.h" QString IRCTab::m_errorColor; QString IRCTab::m_serverColor; @@ -36,3 +37,9 @@ void IRCTab::setID(int id) { int IRCTab::id() { return m_id; } + +void IRCTab::showEvent( QShowEvent *ev ) { + topLevelWidget()->setCaption( MainWindow::appCaption() + " " + title() ); + QWidget::showEvent( ev ); + emit editFocus(); +} -- cgit v0.9.0.2