Mercurial > hg > octave-nkf
diff gui/src/FileEditorMdiSubWindow.cpp @ 13648:da69cec2459f
Renamed OctaveTerminal to TerminalView.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Tue, 23 Aug 2011 20:31:51 +0200 |
parents | b7d870e9b886 |
children | 0a19410e88c0 |
line wrap: on
line diff
--- a/gui/src/FileEditorMdiSubWindow.cpp +++ b/gui/src/FileEditorMdiSubWindow.cpp @@ -242,8 +242,8 @@ { if (m_editor->isModified ()) saveFile(m_fileName); - m_octave->sendText (QString ("run \'%1\'\n").arg (m_fileName)); - m_octave->setFocus (); + m_terminalEmulation->transmitText (QString ("run \'%1\'\n").arg (m_fileName)); + //m_terminalEmulation->setFocus (); } // toggle bookmark @@ -282,11 +282,11 @@ // function for setting the already existing lexer from MainWindow void -FileEditorMdiSubWindow::initEditor (OctaveTerminal* terminal, +FileEditorMdiSubWindow::initEditor (TerminalEmulation* terminalEmulation, LexerOctaveGui* lexer) { m_editor->setLexer(lexer); - m_octave = terminal; // for sending commands to octave + m_terminalEmulation = terminalEmulation; // for sending commands to octave // TODO: make a global commandOctave function? }