forked from qt-creator/qt-creator
QmlDebug: Rename library and (most) classes
Rename the QmlJSDebugClient lib to QmlDebug (shorter names, easier differentiation with the shared/qmljsdebug lib). Also rename - QDeclarativeDebug* classes to QmlDebug* - QDeclarativeOutputParser class to QmlOutputParser To clarify the features, - Debugger::QmlDebuggerClient is now Debugger::BaseQmlDebuggerClient - QmlEngineDebugClient is now BaseEngineDebugClient - QmlDebuggerClient is now QmlEngineDebugClient - QDeclarativeEngineDebugClient is now DeclarativeEngineDebugClient Change-Id: Ie15713730a614c8ab4b637fad0924f95b54e633f Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
@@ -42,7 +42,7 @@ namespace QmlProfiler {
|
||||
namespace Internal {
|
||||
|
||||
struct PendingEvent {
|
||||
QmlJsDebugClient::QmlEventLocation location;
|
||||
QmlDebug::QmlEventLocation location;
|
||||
QString localFile;
|
||||
int eventType;
|
||||
};
|
||||
@@ -123,7 +123,7 @@ QmlProfilerDetailsRewriter::~QmlProfilerDetailsRewriter()
|
||||
}
|
||||
|
||||
void QmlProfilerDetailsRewriter::requestDetailsForLocation(int type,
|
||||
const QmlJsDebugClient::QmlEventLocation &location)
|
||||
const QmlDebug::QmlEventLocation &location)
|
||||
{
|
||||
QString localFile = QUrl(location.filename).toLocalFile();
|
||||
|
||||
@@ -152,7 +152,7 @@ void QmlProfilerDetailsRewriter::reloadDocuments()
|
||||
}
|
||||
|
||||
void QmlProfilerDetailsRewriter::rewriteDetailsForLocation(QTextStream &textDoc,
|
||||
QmlJS::Document::Ptr doc, int type, const QmlJsDebugClient::QmlEventLocation &location)
|
||||
QmlJS::Document::Ptr doc, int type, const QmlDebug::QmlEventLocation &location)
|
||||
{
|
||||
PropertyVisitor propertyVisitor;
|
||||
QmlJS::AST::Node *node = propertyVisitor(doc->ast(), location.line, location.column);
|
||||
|
||||
Reference in New Issue
Block a user