diff qt-interpreter.h @ 5:54edd85237ab

use signal to send input to qt interpreter object
author John W. Eaton <jwe@octave.org>
date Wed, 22 May 2019 18:07:37 -0400
parents 0e154787183d
children 1b575145197e
line wrap: on
line diff
--- a/qt-interpreter.h	Wed May 22 17:30:46 2019 -0400
+++ b/qt-interpreter.h	Wed May 22 18:07:37 2019 -0400
@@ -2,6 +2,7 @@
 #define calc_qt_interpreter_h 1
 
 #include <QObject>
+#include <QString>
 
 namespace calc
 {
@@ -22,6 +23,8 @@
   public slots:
 
     void execute (void);
+
+    void accept_input_line (const QString& line);
   };
 }