comparison libgui/src/terminal-dock-widget.h @ 29550:8dd0fca2a3d9

where possible, use default destructors in GUI classes In most cases, don't explicitly delete objects that have parents in the QObject class hierarchy as they will be deleted automatically when the parent object is deleted. Explicitly declare more destructors as "default". Files affected: dialog.cc, dialog.h, documentation-bookmarks.cc, documentation-bookmarks.h, documentation-dock-widget.cc, documentation-dock-widget.h, documentation.cc, documentation.h, m-editor/file-editor.cc, m-editor/file-editor.h, main-window.cc, main-window.h, set-path-dialog.cc, set-path-dialog.h, tab-bar.cc, tab-bar.h, terminal-dock-widget.cc, and terminal-dock-widget.h.
author John W. Eaton <jwe@octave.org>
date Thu, 22 Apr 2021 12:52:14 -0400
parents 3bfec185c9e2
children d64ad3b93372
comparison
equal deleted inserted replaced
29549:cf02394695b3 29550:8dd0fca2a3d9
40 40
41 public: 41 public:
42 42
43 terminal_dock_widget (QWidget *parent, base_qobject& oct_qobj); 43 terminal_dock_widget (QWidget *parent, base_qobject& oct_qobj);
44 44
45 ~terminal_dock_widget (void); 45 ~terminal_dock_widget (void) = default;
46 46
47 bool has_focus (void) const; 47 bool has_focus (void) const;
48 48
49 signals: 49 signals:
50 50