Mercurial > octave
diff libgui/src/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 | a0d49e55acae |
children | 70d9746e9011 |
line wrap: on
line diff
--- a/libgui/src/main-window.cc Fri Jun 07 10:14:35 2019 +0200 +++ b/libgui/src/main-window.cc Sun Sep 15 12:28:23 2019 -0400 @@ -25,36 +25,37 @@ # include "config.h" #endif -#include <QKeySequence> +#include <utility> + +#include <QAction> #include <QApplication> -#include <QStyleFactory> +#include <QDateTime> +#include <QDebug> +#include <QDesktopServices> +#include <QDesktopWidget> +#include <QFileDialog> +#include <QIcon> #include <QInputDialog> +#include <QKeySequence> #include <QLabel> +#include <QMenu> #include <QMenuBar> -#include <QMenu> -#include <QAction> +#include <QMessageBox> #include <QSettings> #include <QStyle> #include <QStyleFactory> -#include <QToolBar> -#include <QDesktopServices> -#include <QDesktopWidget> -#include <QFileDialog> -#include <QMessageBox> -#include <QIcon> +#include <QStyleFactory> #include <QTextBrowser> #include <QTextCodec> #include <QTextStream> #include <QThread> -#include <QDateTime> -#include <QDebug> #include <QTimer> - -#include <utility> +#include <QToolBar> #if defined (HAVE_QSCINTILLA) # include "file-editor.h" #endif +#include "gui-preferences-mw.h" #include "interpreter-qobject.h" #include "main-window.h" #include "news-reader.h" @@ -62,7 +63,6 @@ #include "settings-dialog.h" #include "shortcut-manager.h" #include "welcome-wizard.h" -#include "gui-preferences-mw.h" #include "Array.h" #include "cmd-edit.h"