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:
Kai Koehne
2012-04-18 12:06:10 +02:00
parent 53702d5dcc
commit 4d3395b990
67 changed files with 604 additions and 609 deletions

View File

@@ -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);