Improvement: Use anticipate class declaration instead of include header

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3224 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-07-21 20:44:32 +00:00
parent 3d96244949
commit 08cf153ea8
34 changed files with 80 additions and 26 deletions

View File

@@ -19,6 +19,8 @@
#include "ui_elementselectorwidget.h"
#include "diagramposition.h"
#include "qeticons.h"
#include "diagram.h"
#include "element.h"
/**
* @brief ElementSelectorWidget::ElementSelectorWidget

View File

@@ -19,7 +19,8 @@
#define ELEMENTSELECTORWIDGET_H
#include <QWidget>
#include "qetgraphicsitem/element.h"
class Element;
class QSignalMapper;
namespace Ui {
class ElementSelectorWidget;

View File

@@ -18,9 +18,9 @@
#include "linksingleelementwidget.h"
#include "ui_linksingleelementwidget.h"
#include "diagram.h"
#include "element.h"
#include "elementprovider.h"
#include "diagramcommands.h"
#include "elementselectorwidget.h"
/**
* @brief LinkSingleElementWidget::LinkSingleElementWidget

View File

@@ -19,10 +19,11 @@
#define LINKSINGLEELEMENTWIDGET_H
#include <QWidget>
#include "elementselectorwidget.h"
#include "element.h"
class Element;
class Diagram;
class QLineEdit;
class ElementSelectorWidget;
namespace Ui {
class LinkSingleElementWidget;

View File

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