Mercurial > octave
comparison libgui/src/terminal-dock-widget.h @ 31222:1a0756f7c90a
disable experimental terminal widget when building without qscintilla
* command-widget.cc: inlcude into #if defined (HAVE_QSCINTILLA)
* main-window.cc: include command-widget.h only if HAVE_QSCINTILLA
* module.mk: only build moc-command-widget.cc if HAVE_QSCINTILLA
* octave-qobject.cc: include command-widget.h only if HAVE_QSCINTILLA,
(base_qobject::terminal_widget): use conditional compilation where
referring to new terminal widget
* terminal-dock-widget.cc: include command-widget.h only if HAVE_QSCINTILLA,
(terminal_dock_widget, init_command_prompt): use conditional compilation
where referring to new terminal widget
* terminal-dock-widget.h: use conditional compilation where referring to
new terminal widget Thu Sep 01 02:34:37 2022 +0200
* octave.cc (cmdline_options): only return true on experimental terminal
widget option if built with scintilla
author | Torsten Lilge <ttl-octave@mailbox.org> |
---|---|
date | Sat, 03 Sep 2022 00:18:49 +0200 |
parents | 9c0099048264 |
children | ad014fc78bd6 c6d54dd31a7e |
comparison
equal
deleted
inserted
replaced
31221:f5755dbacd8d | 31222:1a0756f7c90a |
---|---|
56 // widgets. | 56 // widgets. |
57 | 57 |
58 // Only valid if using the old terminal widget. | 58 // Only valid if using the old terminal widget. |
59 QTerminal * get_qterminal (void); | 59 QTerminal * get_qterminal (void); |
60 | 60 |
61 #if defined (HAVE_QSCINTILLA) | |
61 // Only valid if using the new terminal widget. | 62 // Only valid if using the new terminal widget. |
62 command_widget * get_command_widget (void); | 63 command_widget * get_command_widget (void); |
64 #endif | |
63 | 65 |
64 signals: | 66 signals: |
65 | 67 |
66 void settings_changed (const gui_settings *settings); | 68 void settings_changed (const gui_settings *settings); |
67 | 69 |