Mercurial > octave-nkf
comparison libgui/qterminal/libqterminal/QTerminal.h @ 16658:591cb51c18a3
always handle CTRL-C as interrupt on windows systems
* QTerminal.h (QTerminal::QTerminal): Don't set shortcuts for copy and
paste.
* octave-qt-link.cc (octave_qt_link::do_pre_input_event,
octave_qt_link::do_post_input_event): Don't enable/disable processed
input on Windows systems.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 14 May 2013 02:49:24 -0400 |
parents | de1f8e4b6b9b |
children | 0495339998f8 |
comparison
equal
deleted
inserted
replaced
16657:c1d5bf2eb3b6 | 16658:591cb51c18a3 |
---|---|
108 | 108 |
109 QAction *pasteAction | 109 QAction *pasteAction |
110 = _contextMenu->addAction (tr ("Paste"), | 110 = _contextMenu->addAction (tr ("Paste"), |
111 this, SLOT (pasteClipboard ())); | 111 this, SLOT (pasteClipboard ())); |
112 | 112 |
113 copyAction->setShortcut (QKeySequence::Copy); | |
114 pasteAction->setShortcut (QKeySequence::Paste); | |
115 | |
116 addAction (copyAction); | |
117 addAction (pasteAction); | |
118 | |
119 connect (this, SIGNAL (customContextMenuRequested (QPoint)), | 113 connect (this, SIGNAL (customContextMenuRequested (QPoint)), |
120 this, SLOT (handleCustomContextMenuRequested (QPoint))); | 114 this, SLOT (handleCustomContextMenuRequested (QPoint))); |
121 | 115 |
122 connect (this, SIGNAL (report_status_message (const QString&)), | 116 connect (this, SIGNAL (report_status_message (const QString&)), |
123 xparent, SLOT (report_status_message (const QString&))); | 117 xparent, SLOT (report_status_message (const QString&))); |