diff gui/src/MainWindow.cpp @ 14269:4a6867289e24 gui

Removed the old IRC Client code and replaced it by qirc. * irc/*: Completely removed as it is not needed anymore. * MainWindow.*: Exchanged IRCWidget for QIRCWidget. * octave-gui.pro: Added library -lqirc and removed old include path irc/*.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Sat, 28 Jan 2012 00:11:34 +0100
parents 2254d7c14f41
children 8dfa333f1130
line wrap: on
line diff
--- a/gui/src/MainWindow.cpp
+++ b/gui/src/MainWindow.cpp
@@ -288,7 +288,7 @@
   // Setup essential MDI Windows.
   m_terminalView = new QTerminal(this);
   m_documentationWidget = new BrowserWidget (this);
-  m_ircWidget = new IRCWidget (this);
+  m_ircWidget = new QIRCWidget (this);
 
   // Octave Terminal subwindow.
   m_terminalViewSubWindow = new NonClosableMdiSubWindow (this);
@@ -330,6 +330,8 @@
   m_ircWidgetSubWindow->setMinimumSize (300, 300);
   connect (m_ircWidget, SIGNAL (unreadMessages (bool)), this, SLOT (handleUnreadMessages (bool)));
 
+  m_ircWidget->connectToServer("irc.freenode.net", "Octave-GUI-User", "#octave");
+
   m_lexer = NULL;  // initialise the empty lexer for the edtiors
 
   QMenu *controlMenu = menuBar ()->addMenu (tr ("Octave"));