summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-02-12 16:03:50 -0500
committerBen Boeckel <MathStuf@gmail.com>2009-02-12 16:03:50 -0500
commit2dbfec1e464fc4e4f55dbf51236312437d241121 (patch)
tree5ff5f635117979773fcb5a02c92e5e7e525e8324
parent203d99ec2cd59d608f718be2473e8d5ec00c3d6c (diff)
Reorder forward declarations
-rw-r--r--sigencore/Containment.h2
-rw-r--r--sigencore/RunScript.h14
-rw-r--r--sigmodr/MapEditor.h5
-rw-r--r--sigmodr/MapUI.h3
-rw-r--r--sigmodr/ScriptWidget.h4
-rw-r--r--sigmodr/SigmodrUI.h4
6 files changed, 16 insertions, 16 deletions
diff --git a/sigencore/Containment.h b/sigencore/Containment.h
index 8e9c3960..7e69e07c 100644
--- a/sigencore/Containment.h
+++ b/sigencore/Containment.h
@@ -29,11 +29,11 @@
#include <QtCore/QList>
// Forward declarations
+class QUuid;
namespace Sigscript
{
class SigmodWrapper;
}
-class QUuid;
namespace Sigencore
{
diff --git a/sigencore/RunScript.h b/sigencore/RunScript.h
index 445601b7..386702fb 100644
--- a/sigencore/RunScript.h
+++ b/sigencore/RunScript.h
@@ -25,6 +25,13 @@
#include <QtCore/QMap>
// Forward declarations
+class QObject;
+class QString;
+namespace Kross
+{
+class Action;
+class ActionCollection;
+}
namespace Sigcore
{
class Script;
@@ -33,13 +40,6 @@ namespace Sigscript
{
class SigmodWrapper;
}
-namespace Kross
-{
-class Action;
-class ActionCollection;
-}
-class QObject;
-class QString;
namespace Sigencore
{
diff --git a/sigmodr/MapEditor.h b/sigmodr/MapEditor.h
index fa8b9c6c..4b6ba427 100644
--- a/sigmodr/MapEditor.h
+++ b/sigmodr/MapEditor.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2008 Ben Boeckel <MathStuf@gmail.com>
+ * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -22,10 +22,9 @@
#include <QtGui/QWidget>
// Forward declarations
+class QGraphicsView;
class KComboBox;
class KPushButton;
-class QGraphicsView;
-
namespace Sigmod
{
class Map;
diff --git a/sigmodr/MapUI.h b/sigmodr/MapUI.h
index f70da1d8..604a6dba 100644
--- a/sigmodr/MapUI.h
+++ b/sigmodr/MapUI.h
@@ -29,10 +29,11 @@ namespace Sigmod
{
class Map;
}
+
namespace Sigmodr
{
-class TilemapModel;
class TileDelegate;
+class TilemapModel;
class MapUI : public ObjectUI, private Ui::formMap
{
diff --git a/sigmodr/ScriptWidget.h b/sigmodr/ScriptWidget.h
index ae3b1ec2..5d518c0e 100644
--- a/sigmodr/ScriptWidget.h
+++ b/sigmodr/ScriptWidget.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2008 Ben Boeckel <MathStuf@gmail.com>
+ * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -28,13 +28,13 @@
#include "ui_script.h"
// Forward declarations
+class KTextEdit;
namespace KTextEditor
{
class Editor;
class Document;
class View;
}
-class KTextEdit;
namespace Sigmodr
{
diff --git a/sigmodr/SigmodrUI.h b/sigmodr/SigmodrUI.h
index 1db9b0dd..581e3b88 100644
--- a/sigmodr/SigmodrUI.h
+++ b/sigmodr/SigmodrUI.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2008 Ben Boeckel <MathStuf@gmail.com>
+ * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -29,7 +29,6 @@
#include "ui_sigmodr.h"
// Forward declarations
-class KUrl;
class QDragEnterEvent;
class QDropEvent;
namespace Sigmod
@@ -37,6 +36,7 @@ namespace Sigmod
class Object;
class Sigmod;
}
+class KUrl;
namespace Sigmodr
{