Skip to content

Commit

Permalink
Migrate include statements
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <methylDragon@gmail.com>
  • Loading branch information
methylDragon committed Aug 19, 2022
1 parent d7afaa8 commit f963ab5
Show file tree
Hide file tree
Showing 92 changed files with 373 additions and 373 deletions.
2 changes: 1 addition & 1 deletion examples/plugin/custom_context_menu/CustomContext.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include <iostream>
#include <ignition/plugin/Register.hh>
#include <gz/plugin/Register.hh>

#include "CustomContext.hh"

Expand Down
4 changes: 2 additions & 2 deletions examples/plugin/custom_context_menu/CustomContext.hh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
#define GZ_GUI_CUSTOMCONTEXTPLUGIN_HH_

#ifndef Q_MOC_RUN
#include <ignition/gui/qt.h>
#include <ignition/gui/Plugin.hh>
#include <gz/gui/qt.h>
#include <gz/gui/Plugin.hh>
#endif

namespace gz
Expand Down
2 changes: 1 addition & 1 deletion examples/plugin/dialog_from_plugin/DialogFromPlugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include <iostream>
#include <ignition/plugin/Register.hh>
#include <gz/plugin/Register.hh>

#include "DialogFromPlugin.hh"

Expand Down
4 changes: 2 additions & 2 deletions examples/plugin/dialog_from_plugin/DialogFromPlugin.hh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
#define GZ_GUI_DIALOGFROMPLUGIN_HH_

#ifndef Q_MOC_RUN
#include <ignition/gui/qt.h>
#include <ignition/gui/Plugin.hh>
#include <gz/gui/qt.h>
#include <gz/gui/Plugin.hh>
#endif

namespace gz
Expand Down
2 changes: 1 addition & 1 deletion examples/plugin/hello_plugin/HelloPlugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include <iostream>
#include <ignition/plugin/Register.hh>
#include <gz/plugin/Register.hh>

#include "HelloPlugin.hh"

Expand Down
4 changes: 2 additions & 2 deletions examples/plugin/hello_plugin/HelloPlugin.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

#include <string>

#include <ignition/gui/qt.h>
#include <ignition/gui/Plugin.hh>
#include <gz/gui/qt.h>
#include <gz/gui/Plugin.hh>

namespace gz
{
Expand Down
2 changes: 1 addition & 1 deletion examples/plugin/ign_components/IgnComponents.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
*/

#include <ignition/plugin/Register.hh>
#include <gz/plugin/Register.hh>
#include "IgnComponents.hh"

// Register this plugin
Expand Down
2 changes: 1 addition & 1 deletion examples/plugin/ign_components/IgnComponents.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#ifndef GZ_GUI_EXAMPLES_PLUGIN_IGNCOMPONENTS_HH_
#define GZ_GUI_EXAMPLES_PLUGIN_IGNCOMPONENTS_HH_

#include <ignition/gui/Plugin.hh>
#include <gz/gui/Plugin.hh>

namespace gz
{
Expand Down
2 changes: 1 addition & 1 deletion examples/plugin/multiple_qml/MultipleQml.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include <iostream>
#include <ignition/plugin/Register.hh>
#include <gz/plugin/Register.hh>

#include "MultipleQml.hh"

Expand Down
4 changes: 2 additions & 2 deletions examples/plugin/multiple_qml/MultipleQml.hh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
#define GZ_GUI_EXAMPLES_PLUGINS_MULTIPLEQML_HH_

#ifndef Q_MOC_RUN
#include <ignition/gui/qt.h>
#include <ignition/gui/Plugin.hh>
#include <gz/gui/qt.h>
#include <gz/gui/Plugin.hh>
#endif

namespace gz
Expand Down
8 changes: 4 additions & 4 deletions examples/standalone/custom_drawer/custom_drawer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
*
*/

#include <ignition/common/Console.hh>
#include <gz/common/Console.hh>

#ifndef Q_MOC_RUN
#include <ignition/gui/Application.hh>
#include <ignition/gui/MainWindow.hh>
#include <ignition/gui/qt.h>
#include <gz/gui/Application.hh>
#include <gz/gui/MainWindow.hh>
#include <gz/gui/qt.h>
#include "custom_drawer.hh"
#endif

Expand Down
2 changes: 1 addition & 1 deletion examples/standalone/custom_drawer/custom_drawer.hh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <iostream>

#ifndef Q_MOC_RUN
#include <ignition/gui/qt.h>
#include <gz/gui/qt.h>
#endif

namespace gz
Expand Down
8 changes: 4 additions & 4 deletions examples/standalone/dialogs/dialogs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

#include <iostream>

#include <ignition/common/Console.hh>
#include <gz/common/Console.hh>

#ifndef Q_MOC_RUN
#include <ignition/gui/qt.h>
#include <ignition/gui/Application.hh>
#include <ignition/gui/Dialog.hh>
#include <gz/gui/qt.h>
#include <gz/gui/Application.hh>
#include <gz/gui/Dialog.hh>
#endif

//////////////////////////////////////////////////
Expand Down
8 changes: 4 additions & 4 deletions examples/standalone/start_dialog/start_dialog.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@

#include <iostream>

#include <ignition/gui/qt.h>
#include <ignition/gui/Application.hh>
#include <ignition/gui/Dialog.hh>
#include <ignition/gui/MainWindow.hh>
#include <gz/gui/qt.h>
#include <gz/gui/Application.hh>
#include <gz/gui/Dialog.hh>
#include <gz/gui/MainWindow.hh>

//////////////////////////////////////////////////
int main(int _argc, char **_argv)
Expand Down
6 changes: 3 additions & 3 deletions examples/standalone/window/window.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#include <iostream>

#ifndef Q_MOC_RUN
#include <ignition/gui/qt.h>
#include <ignition/gui/Application.hh>
#include <ignition/gui/MainWindow.hh>
#include <gz/gui/qt.h>
#include <gz/gui/Application.hh>
#include <gz/gui/MainWindow.hh>
#endif

//////////////////////////////////////////////////
Expand Down
4 changes: 2 additions & 2 deletions include/gz/gui/Application.hh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#include <utility>
#include <vector>

#include "ignition/gui/qt.h"
#include "ignition/gui/Export.hh"
#include "gz/gui/qt.h"
#include "gz/gui/Export.hh"

#ifdef _WIN32
// Disable warning C4251 which is triggered by
Expand Down
14 changes: 7 additions & 7 deletions include/gz/gui/Conversions.hh
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
#ifdef _MSC_VER
#pragma warning(push, 0)
#endif
#include <ignition/msgs/time.pb.h>
#include <gz/msgs/time.pb.h>
#ifdef _MSC_VER
#pragma warning(pop)
#endif
#include <ignition/common/Time.hh>
#include <ignition/math/Color.hh>
#include <ignition/math/Vector2.hh>
#include <ignition/math/Vector3.hh>
#include <gz/common/Time.hh>
#include <gz/math/Color.hh>
#include <gz/math/Vector2.hh>
#include <gz/math/Vector3.hh>

#include "ignition/gui/qt.h"
#include "ignition/gui/Export.hh"
#include "gz/gui/qt.h"
#include "gz/gui/Export.hh"

namespace gz
{
Expand Down
4 changes: 2 additions & 2 deletions include/gz/gui/Dialog.hh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#include <memory>
#include <string>

#include "ignition/gui/qt.h"
#include "ignition/gui/Export.hh"
#include "gz/gui/qt.h"
#include "gz/gui/Export.hh"

#ifdef _WIN32
// Disable warning C4251 which is triggered by
Expand Down
4 changes: 2 additions & 2 deletions include/gz/gui/DragDropModel.hh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#ifndef GZ_GUI_DRAGDROPMODEL_HH_
#define GZ_GUI_DRAGDROPMODEL_HH_

#include "ignition/gui/Export.hh"
#include "ignition/gui/qt.h"
#include "gz/gui/Export.hh"
#include "gz/gui/qt.h"

namespace gz
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/gui/Enums.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#ifndef GZ_GUI_ENUMS_HH_
#define GZ_GUI_ENUMS_HH_

#include "ignition/gui/qt.h"
#include "gz/gui/qt.h"

namespace gz
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/gui/GuiEvents.hh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <string>
#include <utility>
#include <vector>
#include <ignition/math/Vector3.hh>
#include <gz/math/Vector3.hh>

namespace gz
{
Expand Down
4 changes: 2 additions & 2 deletions include/gz/gui/Helpers.hh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

#include <string>

#include "ignition/gui/Enums.hh"
#include "ignition/gui/Export.hh"
#include "gz/gui/Enums.hh"
#include "gz/gui/Export.hh"

namespace gz
{
Expand Down
6 changes: 3 additions & 3 deletions include/gz/gui/MainWindow.hh
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
#include <string>
#include <vector>

#include <ignition/common/Console.hh>
#include <gz/common/Console.hh>

#include "ignition/gui/qt.h"
#include "ignition/gui/Export.hh"
#include "gz/gui/qt.h"
#include "gz/gui/Export.hh"

#ifdef _WIN32
// Disable warning C4251 which is triggered by
Expand Down
4 changes: 2 additions & 2 deletions include/gz/gui/Plugin.hh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#include <memory>
#include <string>

#include "ignition/gui/qt.h"
#include "ignition/gui/Export.hh"
#include "gz/gui/qt.h"
#include "gz/gui/Export.hh"

#ifdef _WIN32
// Disable warning C4251 which is triggered by
Expand Down
4 changes: 2 additions & 2 deletions include/gz/gui/SearchModel.hh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#ifndef GZ_GUI_SEARCHMODEL_HH_
#define GZ_GUI_SEARCHMODEL_HH_

#include "ignition/gui/Export.hh"
#include "ignition/gui/qt.h"
#include "gz/gui/Export.hh"
#include "gz/gui/qt.h"

namespace gz
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/gui/gz.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#ifndef GZ_GUI_IGN_HH_
#define GZ_GUI_IGN_HH_

#include "ignition/gui/Export.hh"
#include "gz/gui/Export.hh"

/// \brief External hook to read the library version.
/// \return C-string representing the version. Ex.: 0.1.2
Expand Down
2 changes: 1 addition & 1 deletion include/gz/gui/ign_auto_headers.hh.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Automatically generated
#include <ignition/${GZ_DESIGNATION}/config.hh>
#include <gz/${GZ_DESIGNATION}/config.hh>
${ign_headers}
34 changes: 17 additions & 17 deletions src/Application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@
#include <tinyxml2.h>
#include <queue>

#include <ignition/common/Console.hh>
#include <ignition/common/Filesystem.hh>
#include <ignition/common/SignalHandler.hh>
#include <ignition/common/StringUtils.hh>
#include <ignition/common/SystemPaths.hh>
#include <ignition/common/Util.hh>

#include <ignition/plugin/Loader.hh>

#include "ignition/gui/Application.hh"
#include "ignition/gui/config.hh"
#include "ignition/gui/Dialog.hh"
#include "ignition/gui/Helpers.hh"
#include "ignition/gui/MainWindow.hh"
#include "ignition/gui/Plugin.hh"

#include "ignition/transport/TopicUtils.hh"
#include <gz/common/Console.hh>
#include <gz/common/Filesystem.hh>
#include <gz/common/SignalHandler.hh>
#include <gz/common/StringUtils.hh>
#include <gz/common/SystemPaths.hh>
#include <gz/common/Util.hh>

#include <gz/plugin/Loader.hh>

#include "gz/gui/Application.hh"
#include "gz/gui/config.hh"
#include "gz/gui/Dialog.hh"
#include "gz/gui/Helpers.hh"
#include "gz/gui/MainWindow.hh"
#include "gz/gui/Plugin.hh"

#include "gz/transport/TopicUtils.hh"

namespace gz
{
Expand Down
12 changes: 6 additions & 6 deletions src/Application_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@

#include <stdlib.h>
#include <gtest/gtest.h>
#include <ignition/common/Console.hh>
#include <ignition/utilities/ExtraTestMacros.hh>
#include <gz/common/Console.hh>
#include <gz/utilities/ExtraTestMacros.hh>

#include "test_config.h" // NOLINT(build/include)
#include "ignition/gui/Application.hh"
#include "ignition/gui/Dialog.hh"
#include "ignition/gui/MainWindow.hh"
#include "ignition/gui/Plugin.hh"
#include "gz/gui/Application.hh"
#include "gz/gui/Dialog.hh"
#include "gz/gui/MainWindow.hh"
#include "gz/gui/Plugin.hh"

int g_argc = 1;
char* g_argv[] =
Expand Down
6 changes: 3 additions & 3 deletions src/Conversions.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
*
*/

#include <ignition/common/MouseEvent.hh>
#include <ignition/math/Color.hh>
#include <gz/common/MouseEvent.hh>
#include <gz/math/Color.hh>

#include "ignition/gui/Conversions.hh"
#include "gz/gui/Conversions.hh"

//////////////////////////////////////////////////
QColor gz::gui::convert(const gz::math::Color &_color)
Expand Down
8 changes: 4 additions & 4 deletions src/Conversions_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

#include <gtest/gtest.h>

#include <ignition/common/Console.hh>
#include <ignition/common/MouseEvent.hh>
#include <ignition/math/Color.hh>
#include <gz/common/Console.hh>
#include <gz/common/MouseEvent.hh>
#include <gz/math/Color.hh>

#include "test_config.h" // NOLINT(build/include)
#include "ignition/gui/Conversions.hh"
#include "gz/gui/Conversions.hh"

using namespace gz;
using namespace gui;
Expand Down
Loading

0 comments on commit f963ab5

Please sign in to comment.