Rearranged declarations in basics.h

Tue, 14 Feb 2017 09:53:13 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Tue, 14 Feb 2017 09:53:13 +0200
changeset 1136
9a7a945c0e93
parent 1135
8e0691be0b6f
child 1137
2b6488d11305

Rearranged declarations in basics.h

src/basics.h file | annotate | diff | comparison | revisions
src/colors.cpp file | annotate | diff | comparison | revisions
--- a/src/basics.h	Tue Feb 14 09:48:51 2017 +0200
+++ b/src/basics.h	Tue Feb 14 09:53:13 2017 +0200
@@ -24,6 +24,7 @@
 #include <QSet>
 #include <QVector3D>
 #include <QVector>
+#include <QFile>
 #include <functional>
 #include <math.h>
 #include "macros.h"
@@ -31,10 +32,6 @@
 #include "types/matrix.h"
 
 class LDObject;
-class QFile;
-class QTextStream;
-class Matrix;
-class LDDocument;
 using LDObjectList = QList<LDObject*>;
 
 template<typename T, typename R>
--- a/src/colors.cpp	Tue Feb 14 09:48:51 2017 +0200
+++ b/src/colors.cpp	Tue Feb 14 09:53:13 2017 +0200
@@ -16,7 +16,6 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <QFile>
 #include <QMessageBox>
 #include "colors.h"
 #include "ldpaths.h"

mercurial