forked from qt-creator/qt-creator
QML stuff: Fix compilation for namespaced Qt.
This commit is contained in:
@@ -56,9 +56,11 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
QT_QML_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
extern double qstrtod(const char *s00, char const **se, bool *ok);
|
extern double qstrtod(const char *s00, char const **se, bool *ok);
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
QT_QML_BEGIN_NAMESPACE
|
||||||
|
|
||||||
#define shiftWindowsLineBreak() \
|
#define shiftWindowsLineBreak() \
|
||||||
do { \
|
do { \
|
||||||
|
|||||||
@@ -32,7 +32,9 @@
|
|||||||
|
|
||||||
#include "formeditoritem.h"
|
#include "formeditoritem.h"
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QGraphicsItem;
|
class QGraphicsItem;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,9 @@
|
|||||||
#include <qmlitemnode.h>
|
#include <qmlitemnode.h>
|
||||||
#include "snappinglinecreator.h"
|
#include "snappinglinecreator.h"
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QTimeLine;
|
class QTimeLine;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -37,8 +37,9 @@
|
|||||||
#include <qmlitemnode.h>
|
#include <qmlitemnode.h>
|
||||||
#include "abstractformeditortool.h"
|
#include "abstractformeditortool.h"
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QGraphicsSceneMouseEvent;
|
class QGraphicsSceneMouseEvent;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -32,8 +32,10 @@
|
|||||||
|
|
||||||
#include <qmlmodelview.h>
|
#include <qmlmodelview.h>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QGraphicsScene;
|
class QGraphicsScene;
|
||||||
class QGraphicsSceneMouseEvent;
|
class QGraphicsSceneMouseEvent;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,9 @@
|
|||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QActionGroup;
|
class QActionGroup;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,9 @@
|
|||||||
|
|
||||||
#include <QWidgetAction>
|
#include <QWidgetAction>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QStandardItemModel;
|
class QStandardItemModel;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,9 @@
|
|||||||
|
|
||||||
#include "formeditoritem.h"
|
#include "formeditoritem.h"
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QLineF;
|
class QLineF;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,9 @@
|
|||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QToolBar;
|
class QToolBar;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,9 @@
|
|||||||
|
|
||||||
#include <QWidgetAction>
|
#include <QWidgetAction>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QAbstractItemModel;
|
class QAbstractItemModel;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,9 @@
|
|||||||
#include <QWidgetAction>
|
#include <QWidgetAction>
|
||||||
#include <QWeakPointer>
|
#include <QWeakPointer>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QComboBox;
|
class QComboBox;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,9 @@
|
|||||||
|
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QStandardItemModel;
|
class QStandardItemModel;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -35,12 +35,14 @@
|
|||||||
#include <QtCore/QObject>
|
#include <QtCore/QObject>
|
||||||
#include <QtCore/QString>
|
#include <QtCore/QString>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QUndoStack;
|
class QUndoStack;
|
||||||
class QWidget;
|
class QWidget;
|
||||||
class QIODevice;
|
class QIODevice;
|
||||||
class QProcess;
|
class QProcess;
|
||||||
class QPlainTextEdit;
|
class QPlainTextEdit;
|
||||||
class QmlError;
|
class QmlError;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -32,8 +32,10 @@
|
|||||||
|
|
||||||
#include <QtCore/QObject>
|
#include <QtCore/QObject>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QWidget;
|
class QWidget;
|
||||||
class QDialog;
|
class QDialog;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,9 @@
|
|||||||
#include <QTimeLine>
|
#include <QTimeLine>
|
||||||
#include <QDrag>
|
#include <QDrag>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QMimeData;
|
class QMimeData;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -32,9 +32,11 @@
|
|||||||
|
|
||||||
#include <QtGui/QFrame>
|
#include <QtGui/QFrame>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QGraphicsItem;
|
class QGraphicsItem;
|
||||||
class QPixmap;
|
class QPixmap;
|
||||||
class QMimeData;
|
class QMimeData;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,9 @@
|
|||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QTimeLine>
|
#include <QTimeLine>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QLabel;
|
class QLabel;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -37,10 +37,12 @@
|
|||||||
|
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QTreeView;
|
class QTreeView;
|
||||||
class QStandardItem;
|
class QStandardItem;
|
||||||
class QItemSelection;
|
class QItemSelection;
|
||||||
class QModelIndex;
|
class QModelIndex;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -34,10 +34,12 @@
|
|||||||
|
|
||||||
#include <QWeakPointer>
|
#include <QWeakPointer>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QTreeView;
|
class QTreeView;
|
||||||
class QStandardItem;
|
class QStandardItem;
|
||||||
class QItemSelection;
|
class QItemSelection;
|
||||||
class QModelIndex;
|
class QModelIndex;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -51,6 +51,8 @@ public:
|
|||||||
|
|
||||||
} // namespace QmlDesigner
|
} // namespace QmlDesigner
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
Q_DECLARE_INTERFACE(QmlDesigner::IPlugin, QMLDESIGNER_PLUGIN_INTERFACE)
|
Q_DECLARE_INTERFACE(QmlDesigner::IPlugin, QMLDESIGNER_PLUGIN_INTERFACE)
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // IPLUGIN_H
|
#endif // IPLUGIN_H
|
||||||
|
|||||||
@@ -34,9 +34,11 @@
|
|||||||
#include <QtCore/QObject>
|
#include <QtCore/QObject>
|
||||||
#include <QtCore/QList>
|
#include <QtCore/QList>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QString;
|
class QString;
|
||||||
class QAbstractItemModel;
|
class QAbstractItemModel;
|
||||||
class QDialog;
|
class QDialog;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -160,7 +160,6 @@ private:
|
|||||||
int mTop, mLeft, mBottom, mRight;
|
int mTop, mLeft, mBottom, mRight;
|
||||||
|
|
||||||
};
|
};
|
||||||
QML_DECLARE_TYPE(QBoxLayoutObject);
|
|
||||||
|
|
||||||
class QHBoxLayoutObject : public QBoxLayoutObject
|
class QHBoxLayoutObject : public QBoxLayoutObject
|
||||||
{
|
{
|
||||||
@@ -168,7 +167,6 @@ Q_OBJECT
|
|||||||
public:
|
public:
|
||||||
QHBoxLayoutObject(QObject *parent=0);
|
QHBoxLayoutObject(QObject *parent=0);
|
||||||
};
|
};
|
||||||
QML_DECLARE_TYPE(QHBoxLayoutObject);
|
|
||||||
|
|
||||||
class QVBoxLayoutObject : public QBoxLayoutObject
|
class QVBoxLayoutObject : public QBoxLayoutObject
|
||||||
{
|
{
|
||||||
@@ -176,11 +174,14 @@ Q_OBJECT
|
|||||||
public:
|
public:
|
||||||
QVBoxLayoutObject(QObject *parent=0);
|
QVBoxLayoutObject(QObject *parent=0);
|
||||||
};
|
};
|
||||||
QML_DECLARE_TYPE(QVBoxLayoutObject);
|
|
||||||
|
|
||||||
#endif // BASICLAYOUTS_H
|
#endif // BASICLAYOUTS_H
|
||||||
|
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
QML_DECLARE_TYPE(QBoxLayoutObject);
|
||||||
|
QML_DECLARE_TYPE(QHBoxLayoutObject);
|
||||||
|
QML_DECLARE_TYPE(QVBoxLayoutObject);
|
||||||
|
|
||||||
QT_END_HEADER
|
QT_END_HEADER
|
||||||
|
|||||||
@@ -1109,9 +1109,6 @@ void QGroupBoxDeclarativeUI::animate(int frame)
|
|||||||
gb->update();
|
gb->update();
|
||||||
}
|
}
|
||||||
|
|
||||||
QML_DECLARE_TYPE(QTabObject);
|
|
||||||
QML_DEFINE_TYPE(Qt,4,6,QTabObject,QTabObject); //### with namespacing, this should just be 'Tab'
|
|
||||||
|
|
||||||
class QTabWidgetDeclarativeUI : public QObject
|
class QTabWidgetDeclarativeUI : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
@@ -1171,6 +1168,8 @@ public:
|
|||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
QML_DEFINE_EXTENDED_TYPE(Bauhaus,1,0,QWidget,QWidget,QWidgetDeclarativeUI);
|
QML_DEFINE_EXTENDED_TYPE(Bauhaus,1,0,QWidget,QWidget,QWidgetDeclarativeUI);
|
||||||
|
|
||||||
//display
|
//display
|
||||||
@@ -1230,7 +1229,7 @@ QML_DEFINE_EXTENDED_TYPE(Bauhaus,1,0,QMenu,QMenu, QMenuDeclarativeUI)
|
|||||||
//QML_DEFINE_TYPE(Bauhaus,1,0,BauhausreeView,BauhausreeView);
|
//QML_DEFINE_TYPE(Bauhaus,1,0,BauhausreeView,BauhausreeView);
|
||||||
//QML_DEFINE_TYPE(Bauhaus,1,0,BauhausableView,BauhausableView);
|
//QML_DEFINE_TYPE(Bauhaus,1,0,BauhausableView,BauhausableView);
|
||||||
|
|
||||||
|
QML_DECLARE_TYPE(QTabObject);
|
||||||
|
QML_DEFINE_TYPE(Qt,4,6,QTabObject,QTabObject); //### with namespacing, this should just be 'Tab'
|
||||||
|
|
||||||
#include "basicwidgets.moc"
|
#include "basicwidgets.moc"
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
|
||||||
|
|||||||
@@ -57,9 +57,6 @@
|
|||||||
#include "filewidget.h"
|
#include "filewidget.h"
|
||||||
#include "layoutwidget.h"
|
#include "layoutwidget.h"
|
||||||
|
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
|
||||||
|
|
||||||
QML_DECLARE_TYPE(QWidget);
|
QML_DECLARE_TYPE(QWidget);
|
||||||
|
|
||||||
//display
|
//display
|
||||||
@@ -97,12 +94,16 @@ QML_DECLARE_TYPE(QTabWidget);
|
|||||||
QML_DECLARE_TYPE(FileWidget);
|
QML_DECLARE_TYPE(FileWidget);
|
||||||
QML_DECLARE_TYPE(LayoutWidget);
|
QML_DECLARE_TYPE(LayoutWidget);
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
class Action : public QAction {
|
class Action : public QAction {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
Action(QObject *parent = 0) : QAction(parent) {}
|
Action(QObject *parent = 0) : QAction(parent) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
QML_DECLARE_TYPE(QMenu);
|
QML_DECLARE_TYPE(QMenu);
|
||||||
QML_DECLARE_TYPE(Action);
|
QML_DECLARE_TYPE(Action);
|
||||||
|
|
||||||
@@ -115,6 +116,4 @@ QML_DECLARE_TYPE(Action);
|
|||||||
|
|
||||||
//top-level windows?
|
//top-level windows?
|
||||||
|
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
|
||||||
#endif // BASICWIDGETS_H
|
#endif // BASICWIDGETS_H
|
||||||
|
|||||||
@@ -39,9 +39,10 @@
|
|||||||
#include <qml.h>
|
#include <qml.h>
|
||||||
#include <propertyeditorvalue.h>
|
#include <propertyeditorvalue.h>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QtColorButton;
|
class QtColorButton;
|
||||||
class QToolButton;
|
class QToolButton;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -35,10 +35,11 @@
|
|||||||
#include <qml.h>
|
#include <qml.h>
|
||||||
|
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QLabel;
|
class QLabel;
|
||||||
class QPushButton;
|
class QPushButton;
|
||||||
class QFontDialog;
|
class QFontDialog;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -37,8 +37,10 @@
|
|||||||
|
|
||||||
#include "qmlanchorbindingproxy.h"
|
#include "qmlanchorbindingproxy.h"
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QShortcut;
|
class QShortcut;
|
||||||
class QStackedWidget;
|
class QStackedWidget;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -48,11 +48,11 @@ public:
|
|||||||
|
|
||||||
virtual QLayout *layout() const;
|
virtual QLayout *layout() const;
|
||||||
};
|
};
|
||||||
QML_DECLARE_TYPE(QLayoutObject);
|
|
||||||
|
|
||||||
#endif // QLAYOUTOBJECT_H
|
|
||||||
|
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
QML_DECLARE_TYPE(QLayoutObject);
|
||||||
|
|
||||||
QT_END_HEADER
|
QT_END_HEADER
|
||||||
|
|
||||||
|
#endif // QLAYOUTOBJECT_H
|
||||||
|
|||||||
@@ -63,7 +63,6 @@ private:
|
|||||||
QRectF geometry;
|
QRectF geometry;
|
||||||
QGraphicsLayout *proxy;
|
QGraphicsLayout *proxy;
|
||||||
};
|
};
|
||||||
QML_DECLARE_TYPE(QProxyLayout);
|
|
||||||
|
|
||||||
class QProxyLayoutItem : public QObject, public QGraphicsLayoutItem
|
class QProxyLayoutItem : public QObject, public QGraphicsLayoutItem
|
||||||
{
|
{
|
||||||
@@ -87,10 +86,12 @@ private:
|
|||||||
QRectF geometry;
|
QRectF geometry;
|
||||||
QGraphicsLayoutItem *other;
|
QGraphicsLayoutItem *other;
|
||||||
};
|
};
|
||||||
QML_DECLARE_TYPE(QProxyLayoutItem);
|
|
||||||
|
|
||||||
#endif // QPROXYLAYOUTITEM_H
|
#endif // QPROXYLAYOUTITEM_H
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
QML_DECLARE_TYPE(QProxyLayout);
|
||||||
|
QML_DECLARE_TYPE(QProxyLayoutItem);
|
||||||
|
|
||||||
QT_END_HEADER
|
QT_END_HEADER
|
||||||
|
|||||||
@@ -33,9 +33,11 @@
|
|||||||
#include <QtGui/QGroupBox>
|
#include <QtGui/QGroupBox>
|
||||||
#include <QtGui/QPushButton>
|
#include <QtGui/QPushButton>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QListWidget;
|
class QListWidget;
|
||||||
class QVBoxLayout;
|
class QVBoxLayout;
|
||||||
class QTableWidget;
|
class QTableWidget;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,9 @@
|
|||||||
#include <QSharedPointer>
|
#include <QSharedPointer>
|
||||||
#include "corelib_global.h"
|
#include "corelib_global.h"
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QTextStream;
|
class QTextStream;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|||||||
@@ -39,7 +39,9 @@
|
|||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QStyle;
|
class QStyle;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ public:
|
|||||||
|
|
||||||
} // namespace QmlDesigner
|
} // namespace QmlDesigner
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
Q_DECLARE_INTERFACE(QmlDesigner::IWidgetPlugin, QMLDESIGNER_WIDGETPLUGIN_INTERFACE)
|
Q_DECLARE_INTERFACE(QmlDesigner::IWidgetPlugin, QMLDESIGNER_WIDGETPLUGIN_INTERFACE)
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // IWIDGETPLUGIN_H
|
#endif // IWIDGETPLUGIN_H
|
||||||
|
|||||||
@@ -38,7 +38,9 @@
|
|||||||
|
|
||||||
#include <import.h>
|
#include <import.h>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QUrl;
|
class QUrl;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,9 @@
|
|||||||
#include <QtCore/QMetaType>
|
#include <QtCore/QMetaType>
|
||||||
#include <QVariant>
|
#include <QVariant>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QTextStream;
|
class QTextStream;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -37,11 +37,13 @@
|
|||||||
#include <propertymetainfo.h>
|
#include <propertymetainfo.h>
|
||||||
#include <qmlanchors.h>
|
#include <qmlanchors.h>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QPainter;
|
class QPainter;
|
||||||
class QStyleOptionGraphicsItem;
|
class QStyleOptionGraphicsItem;
|
||||||
class QmlContext;
|
class QmlContext;
|
||||||
class QGraphicsItem;
|
class QGraphicsItem;
|
||||||
class QGraphicsTransform;
|
class QGraphicsTransform;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -41,9 +41,11 @@
|
|||||||
#include <modelnode.h>
|
#include <modelnode.h>
|
||||||
#include <nodeinstance.h>
|
#include <nodeinstance.h>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QmlEngine;
|
class QmlEngine;
|
||||||
class QGraphicsScene;
|
class QGraphicsScene;
|
||||||
class QGraphicsView;
|
class QGraphicsView;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,9 @@
|
|||||||
#include "corelib_global.h"
|
#include "corelib_global.h"
|
||||||
#include "invalidmetainfoexception.h"
|
#include "invalidmetainfoexception.h"
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QmlContext;
|
class QmlContext;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -33,6 +33,9 @@
|
|||||||
#include "corelib_global.h"
|
#include "corelib_global.h"
|
||||||
#include "abstractproperty.h"
|
#include "abstractproperty.h"
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
|
class QTextStream;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,9 @@
|
|||||||
|
|
||||||
#include "objectnodeinstance.h"
|
#include "objectnodeinstance.h"
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QmlComponent;
|
class QmlComponent;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|||||||
@@ -32,7 +32,9 @@
|
|||||||
|
|
||||||
#include "objectnodeinstance.h"
|
#include "objectnodeinstance.h"
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QGraphicsObject;
|
class QGraphicsObject;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|||||||
@@ -40,11 +40,13 @@
|
|||||||
#include <nodeinstanceview.h>
|
#include <nodeinstanceview.h>
|
||||||
#include "nodeinstancemetaobject.h"
|
#include "nodeinstancemetaobject.h"
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QGraphicsItem;
|
class QGraphicsItem;
|
||||||
class QmlContext;
|
class QmlContext;
|
||||||
class QmlMetaProperty;
|
class QmlMetaProperty;
|
||||||
class QmlContext;
|
class QmlContext;
|
||||||
class QmlBinding;
|
class QmlBinding;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,9 @@
|
|||||||
|
|
||||||
#include "objectnodeinstance.h"
|
#include "objectnodeinstance.h"
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QmlTransition;
|
class QmlTransition;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|||||||
@@ -40,6 +40,7 @@
|
|||||||
|
|
||||||
enum { debug = false };
|
enum { debug = false };
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
// Allow usage of QFileInfo in hash / qSort
|
// Allow usage of QFileInfo in hash / qSort
|
||||||
|
|
||||||
@@ -53,6 +54,7 @@ static uint qHash(const QFileInfo &fileInfo)
|
|||||||
return qHash(fileInfo.filePath());
|
return qHash(fileInfo.filePath());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,9 @@
|
|||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QList>
|
#include <QList>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QTimer;
|
class QTimer;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|||||||
@@ -34,7 +34,9 @@
|
|||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QmlValueType;
|
class QmlValueType;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|||||||
@@ -36,7 +36,9 @@
|
|||||||
|
|
||||||
#include <QWeakPointer>
|
#include <QWeakPointer>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QAction;
|
class QAction;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|||||||
@@ -52,10 +52,12 @@
|
|||||||
#include <QtGui/QComboBox>
|
#include <QtGui/QComboBox>
|
||||||
#include <QtGui/QLabel>
|
#include <QtGui/QLabel>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QStackedWidget;
|
class QStackedWidget;
|
||||||
class QTabWidget;
|
class QTabWidget;
|
||||||
class QVBoxLayout;
|
class QVBoxLayout;
|
||||||
class QToolButton;
|
class QToolButton;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
class SideBar;
|
class SideBar;
|
||||||
|
|||||||
@@ -34,6 +34,12 @@
|
|||||||
#include <QtCore/QObject>
|
#include <QtCore/QObject>
|
||||||
#include <QtCore/QPointer>
|
#include <QtCore/QPointer>
|
||||||
|
|
||||||
|
namespace Core
|
||||||
|
{
|
||||||
|
class IMode;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
class QStringList;
|
class QStringList;
|
||||||
@@ -41,11 +47,6 @@ class QStringList;
|
|||||||
class QmlInspectorMode;
|
class QmlInspectorMode;
|
||||||
class InspectorOutputPane;
|
class InspectorOutputPane;
|
||||||
|
|
||||||
namespace Core
|
|
||||||
{
|
|
||||||
class IMode;
|
|
||||||
}
|
|
||||||
|
|
||||||
class QmlInspectorPlugin : public ExtensionSystem::IPlugin
|
class QmlInspectorPlugin : public ExtensionSystem::IPlugin
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|||||||
Reference in New Issue
Block a user