Replace some #include, by pre declaration

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3316 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-09-20 18:26:13 +00:00
parent 01f1bc8dd1
commit e7d33b9b4b
4 changed files with 13 additions and 5 deletions

View File

@@ -16,7 +16,9 @@
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>. along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "elementprovider.h" #include "elementprovider.h"
#include "QUuid" #include "qetproject.h"
#include "diagram.h"
#include "qetgraphicsitem/element.h"
/** /**
* @brief ElementProvider::ElementProvider Constructor * @brief ElementProvider::ElementProvider Constructor

View File

@@ -18,9 +18,12 @@
#ifndef ELEMENTPROVIDER_H #ifndef ELEMENTPROVIDER_H
#define ELEMENTPROVIDER_H #define ELEMENTPROVIDER_H
#include "qetproject.h" #include <QUuid>
#include "diagram.h" #include <QList>
#include "qetgraphicsitem/element.h"
class QETProject;
class Diagram;
class Element;
/** /**
this class can search in the given diagram or project some kind of element this class can search in the given diagram or project some kind of element

View File

@@ -21,6 +21,8 @@
#include <diagramposition.h> #include <diagramposition.h>
#include <elementprovider.h> #include <elementprovider.h>
#include <diagramcommands.h> #include <diagramcommands.h>
#include <diagram.h>
#include <element.h>
/** /**
* @brief MasterPropertiesWidget::MasterPropertiesWidget * @brief MasterPropertiesWidget::MasterPropertiesWidget

View File

@@ -19,9 +19,10 @@
#define MASTERPROPERTIESWIDGET_H #define MASTERPROPERTIESWIDGET_H
#include <QWidget> #include <QWidget>
#include "element.h" #include <QHash>
class QListWidgetItem; class QListWidgetItem;
class Element;
namespace Ui { namespace Ui {
class MasterPropertiesWidget; class MasterPropertiesWidget;