Mercurial > octave
diff libgui/src/dw-main-window.cc @ 27412:da1f59fe04b3
try to use consitent ordering for include files in libgui sources
Use alphabetical ordering for include files in libgui sources. Group
in blocks in teh following order:
standard header files
Qt header files
libgui header files
liboctave header files
libinterp header files
Use forward declarations for Octave classes where possible.
Files affected: color-picker.h, dialog.cc, dialog.h,
documentation-dock-widget.h, documentation.cc, dw-main-window.cc,
dw-main-window.h, external-editor-interface.cc,
external-editor-interface.h, files-dock-widget.cc,
files-dock-widget.h, find-files-dialog.cc, find-files-dialog.h,
find-files-model.h, gui-preferences-mw.h, gui-preferences.h,
history-dock-widget.cc, history-dock-widget.h, interpreter-qobject.cc,
m-editor/file-editor-interface.h, m-editor/file-editor-tab.cc,
m-editor/file-editor-tab.h, m-editor/file-editor.cc,
m-editor/file-editor.h, m-editor/marker.h,
m-editor/octave-qscintilla.cc, m-editor/octave-qscintilla.h,
main-window.cc, main-window.h, octave-dock-widget.cc,
octave-dock-widget.h, octave-qobject.cc, qt-application.cc,
qt-interpreter-events.cc, qt-interpreter-events.h,
resource-manager.cc, resource-manager.h, set-path-dialog.cc,
set-path-dialog.h, set-path-model.cc, set-path-model.h,
settings-dialog.cc, settings-dialog.h, shortcut-manager.cc,
shortcut-manager.h, tab-bar.h, terminal-dock-widget.cc,
terminal-dock-widget.h, variable-editor.cc, variable-editor.h,
welcome-wizard.cc, welcome-wizard.h, workspace-model.cc,
workspace-model.h, workspace-view.cc, and workspace-view.h.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 15 Sep 2019 12:28:23 -0400 |
parents | db687716fed6 |
children | 0495b64288f7 |
line wrap: on
line diff
--- a/libgui/src/dw-main-window.cc Fri Jun 07 10:14:35 2019 +0200 +++ b/libgui/src/dw-main-window.cc Sun Sep 15 12:28:23 2019 -0400 @@ -29,12 +29,12 @@ # include "config.h" #endif +#include <QDockWidget> #include <QMenu> -#include <QDockWidget> +#include "dw-main-window.h" #include "resource-manager.h" #include "shortcut-manager.h" -#include "dw-main-window.h" namespace octave {