Commit c46395f3 authored by Friedemann Kleint's avatar Friedemann Kleint

Forward-declare some classes in QmlJsTools.

Change-Id: I7196c1b2be093d4070c68546f13ee2ef36c2876c
Reviewed-by: default avatarAurindam Jana <aurindam.jana@digia.com>
parent d8be9197
......@@ -33,6 +33,7 @@
#include <QPainter>
#include <QTreeView>
#include <QScrollBar>
#include <QTextLayout>
const char CONSOLE_LOG_BACKGROUND_COLOR[] = "#E8EEF2";
const char CONSOLE_WARNING_BACKGROUND_COLOR[] = "#F6F4EB";
......
......@@ -35,7 +35,8 @@
#include "qmlconsolemanager.h"
#include <QStyledItemDelegate>
#include <QTextLayout>
QT_FORWARD_DECLARE_CLASS(QTextLayout)
namespace QmlJSTools {
namespace Internal {
......
......@@ -32,6 +32,7 @@
#include <utils/qtcassert.h>
#include <QFontMetrics>
#include <QFont>
using namespace QmlJS;
......
......@@ -34,7 +34,8 @@
#include <QAbstractItemModel>
#include <QItemSelectionModel>
#include <QFont>
QT_FORWARD_DECLARE_CLASS(QFont)
namespace QmlJSTools {
namespace Internal {
......
......@@ -31,9 +31,7 @@
#define QMLJSBUNDLEPROVIDER_H
#include <QObject>
#include <qmljs/qmljsbundle.h>
#include <qmljs/qmljsdocument.h>
#include <QHash>
#include "qmljstools_global.h"
......@@ -43,6 +41,11 @@ class Project;
class Target;
}
namespace QmlJS {
class QmlLanguageBundles;
class QmlBundle;
} // namespace QmlJS
namespace QmlJSTools {
class QMLJSTOOLS_EXPORT IBundleProvider : public QObject
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment