comparison gui/src/OctaveLink.cpp @ 13522:09d9cb7c3014

Further simplified OctaveLink by removing the readline event hook.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Wed, 20 Jul 2011 00:34:38 +0200
parents 16b33b7ef1b3
children 3ec73e6b8cbe
comparison
equal deleted inserted replaced
13521:16b33b7ef1b3 13522:09d9cb7c3014
33 m_historyModel = new QStringListModel (this); 33 m_historyModel = new QStringListModel (this);
34 } 34 }
35 35
36 OctaveLink::~OctaveLink () 36 OctaveLink::~OctaveLink ()
37 { 37 {
38 }
39
40 int
41 OctaveLink::readlineEventHook ()
42 {
43 OctaveLink::instance ()->processOctaveServerData ();
44 return 0;
45 } 38 }
46 39
47 QString 40 QString
48 OctaveLink::octaveValueAsQString (OctaveValue octaveValue) 41 OctaveLink::octaveValueAsQString (OctaveValue octaveValue)
49 { 42 {
152 QStringListModel * 145 QStringListModel *
153 OctaveLink::historyModel () 146 OctaveLink::historyModel ()
154 { 147 {
155 return m_historyModel; 148 return m_historyModel;
156 } 149 }
157
158 void
159 OctaveLink::processOctaveServerData ()
160 {
161 fetchSymbolTable ();
162 }