forked from qt-creator/qt-creator
QmlJSInspector: Renamed Observer to Inspector
Manually redid Qt 4.8 commit 206ebd5af21d94c3f3b49d2cb645105a63e6f5fb, to make future code synchronization easier. In order not to have to change the QmlApplicationViewer again, a compatibility class QDeclarativeViewObserver is retained that subclasses QDeclarativeViewInspector. Change-Id: Ief87ae2f8f76b1db0c9d65085e4832424b277603 Reviewed-on: http://codereview.qt.nokia.com/242 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
committed by
Kai Koehne
parent
e0f79761f3
commit
335f6ad0f7
@@ -40,7 +40,7 @@
|
||||
#include "loggerwidget.h"
|
||||
|
||||
namespace QmlJSDebugger {
|
||||
class QDeclarativeViewObserver;
|
||||
class QDeclarativeViewInspector;
|
||||
}
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
@@ -156,7 +156,7 @@ private:
|
||||
|
||||
LoggerWidget *loggerWindow;
|
||||
QDeclarativeView *canvas;
|
||||
QmlJSDebugger::QDeclarativeViewObserver *observer;
|
||||
QmlJSDebugger::QDeclarativeViewInspector *inspector;
|
||||
QSize initialSize;
|
||||
QString currentFileOrUrl;
|
||||
QTimer recordTimer;
|
||||
|
||||
Reference in New Issue
Block a user