Mercurial > hg > octave-terminal
changeset 15286:ae9079bbc627
Add '#include <config.h>' to C++ files in libgui/src
* documentation-dockwidget.cc, files-dockwidget.cc, file-editor-tab.cc,
file-editor.cc, find-dialog.cc, lexer-octave-gui.cc, main-window.cc,
octave-qt-event-listener.cc, qtinfo/parser.cc, settings-dialog.cc,
terminal-dockwidget.cc, welcome-wizard.cc, workspace-view.cc:
Add '#include <config.h>' as first header file.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 04 Sep 2012 11:53:26 -0700 |
parents | d048ef58bb72 |
children | 8639a450a89e |
files | libgui/src/documentation-dockwidget.cc libgui/src/files-dockwidget.cc libgui/src/m-editor/file-editor-tab.cc libgui/src/m-editor/file-editor.cc libgui/src/m-editor/find-dialog.cc libgui/src/m-editor/lexer-octave-gui.cc libgui/src/main-window.cc libgui/src/octave-qt-event-listener.cc libgui/src/qtinfo/parser.cc libgui/src/settings-dialog.cc libgui/src/terminal-dockwidget.cc libgui/src/welcome-wizard.cc libgui/src/workspace-view.cc |
diffstat | 13 files changed, 52 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/documentation-dockwidget.cc +++ b/libgui/src/documentation-dockwidget.cc @@ -20,6 +20,10 @@ */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "documentation-dockwidget.h" documentation_dock_widget::documentation_dock_widget (QWidget *parent)
--- a/libgui/src/files-dockwidget.cc +++ b/libgui/src/files-dockwidget.cc @@ -20,6 +20,10 @@ */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "resource-manager.h" #include "files-dockwidget.h"
--- a/libgui/src/m-editor/file-editor-tab.cc +++ b/libgui/src/m-editor/file-editor-tab.cc @@ -20,6 +20,10 @@ */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "file-editor-tab.h" #include "file-editor.h" #include "find-dialog.h"
--- a/libgui/src/m-editor/file-editor.cc +++ b/libgui/src/m-editor/file-editor.cc @@ -20,6 +20,10 @@ */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "file-editor.h" #include <QVBoxLayout> #include <QApplication>
--- a/libgui/src/m-editor/find-dialog.cc +++ b/libgui/src/m-editor/find-dialog.cc @@ -39,6 +39,10 @@ ** ****************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <QtGui> #include <QIcon> #include "find-dialog.h"
--- a/libgui/src/m-editor/lexer-octave-gui.cc +++ b/libgui/src/m-editor/lexer-octave-gui.cc @@ -20,6 +20,10 @@ */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "lexer-octave-gui.h" #include <qcolor.h> #include <qfont.h>
--- a/libgui/src/main-window.cc +++ b/libgui/src/main-window.cc @@ -20,6 +20,10 @@ */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <QApplication> #include <QLabel> #include <QMenuBar>
--- a/libgui/src/octave-qt-event-listener.cc +++ b/libgui/src/octave-qt-event-listener.cc @@ -20,6 +20,10 @@ */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "octave-qt-event-listener.h" #include <QApplication>
--- a/libgui/src/qtinfo/parser.cc +++ b/libgui/src/qtinfo/parser.cc @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "parser.h" #include <QFileInfo> #include <QDir>
--- a/libgui/src/settings-dialog.cc +++ b/libgui/src/settings-dialog.cc @@ -20,6 +20,10 @@ */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "resource-manager.h" #include "settings-dialog.h" #include "ui-settings-dialog.h"
--- a/libgui/src/terminal-dockwidget.cc +++ b/libgui/src/terminal-dockwidget.cc @@ -20,6 +20,10 @@ */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "terminal-dockwidget.h" terminal_dock_widget::terminal_dock_widget (QTerminal *terminal, QWidget *parent)