Mercurial > octave-dspies
view libgui/link-deps.mk @ 18689:fac35875f6eb gui-release
update enabled status of undo/redo actions in the editor
* file-editor-tab.h: new inline function returning the qscintilla edit area
* octave-qscintilla.cc (constructor): connect textChanged signal to new private
slot text_changed;
(text_changed): new slot emitting a signal on undo/redo availability
* octave-qscintilla.h: new slot and new signal
* file-editor.cc (edit_status_update): new slot for updating undo/redo actions;
(construct): undo/redo actions disabled at the beginning;
(add_new_edit_tab): connect new slot to the signal from the qscintilla edit
area indicating undo/redo availability
* file-editor.h: new slot
author | Torsten <ttl@justmail.de> |
---|---|
date | Sun, 27 Apr 2014 19:36:54 +0200 |
parents | 5f031158c693 |
children | 39844e6ccf13 |
line wrap: on
line source
include $(top_srcdir)/libinterp/link-deps.mk if AMCOND_ENABLE_DYNAMIC_LINKING LIBOCTGUI_LINK_DEPS = else LIBOCTGUI_LINK_DEPS = $(DLDFCN_LIBS) endif LIBOCTGUI_LINK_DEPS += \ @QT_LIBS@ LIBOCTGUI_LINK_OPTS = \ @QT_LDFLAGS@ if AMCOND_LINK_ALL_DEPS LIBOCTGUI_LINK_DEPS += $(LIBOCTINTERP_LINK_DEPS) LIBOCTGUI_LINK_OPTS += $(LIBOCTINTERP_LINK_OPTS) OCTAVE_GUI_LINK_DEPS = $(LIBOCTGUI_LINK_DEPS) OCTAVE_GUI_LINK_OPTS = $(LIBOCTGUI_LINK_OPTS) endif