forked from qt-creator/qt-creator
Move QmlProfiler specific files from qmldebug to qmlprofiler
These file were not used anywhere else and had no business to be in qmldebug to begin with. Moving them allows us to drop a number of namespace qualifications and forces us to rename a few local symbols in other classes in order to avoid name clashes. Change-Id: I658ed455eec027cbaddacf2980d2ea6827ae6205 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
@@ -35,7 +35,7 @@ namespace QmlProfiler {
|
||||
namespace Internal {
|
||||
|
||||
struct PendingEvent {
|
||||
QmlDebug::QmlEventLocation location;
|
||||
QmlEventLocation location;
|
||||
QString localFile;
|
||||
int requestId;
|
||||
};
|
||||
@@ -118,7 +118,7 @@ QmlProfilerDetailsRewriter::~QmlProfilerDetailsRewriter()
|
||||
}
|
||||
|
||||
void QmlProfilerDetailsRewriter::requestDetailsForLocation(int requestId,
|
||||
const QmlDebug::QmlEventLocation &location)
|
||||
const QmlEventLocation &location)
|
||||
{
|
||||
QString localFile;
|
||||
if (!d->m_filesCache.contains(location.filename)) {
|
||||
@@ -157,7 +157,7 @@ void QmlProfilerDetailsRewriter::reloadDocuments()
|
||||
}
|
||||
|
||||
void QmlProfilerDetailsRewriter::rewriteDetailsForLocation(QTextStream &textDoc,
|
||||
QmlJS::Document::Ptr doc, int requestId, const QmlDebug::QmlEventLocation &location)
|
||||
QmlJS::Document::Ptr doc, int requestId, const QmlEventLocation &location)
|
||||
{
|
||||
PropertyVisitor propertyVisitor;
|
||||
QmlJS::AST::Node *node = propertyVisitor(doc->ast(), location.line, location.column);
|
||||
|
||||
Reference in New Issue
Block a user