changeset 13633:707c1490a85e

Replaced BEL debug message with emitting bell signal.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Fri, 19 Aug 2011 03:05:25 +0200
parents 815213e9773d
children f187d6796072
files gui/src/OctaveTerminal.cpp gui/src/OctaveTerminal.h
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/src/OctaveTerminal.cpp	Fri Aug 19 03:01:36 2011 +0200
+++ b/gui/src/OctaveTerminal.cpp	Fri Aug 19 03:05:25 2011 +0200
@@ -232,7 +232,7 @@
           qDebug ("ACK");
           break;
         case 7: // Bell (BEL)
-          qDebug ("BEL");
+          emit bell ();
           break;
         case 8: // Backspace (BS)
           tc.deletePreviousChar ();
--- a/gui/src/OctaveTerminal.h	Fri Aug 19 03:01:36 2011 +0200
+++ b/gui/src/OctaveTerminal.h	Fri Aug 19 03:05:25 2011 +0200
@@ -31,6 +31,9 @@
   void sendText (QString text) { m_session->sendText (text); }
   void openTerminal ();
 
+signals:
+  void bell ();
+
 protected:
   void keyPressEvent (QKeyEvent *keyEvent);