forked from qt-creator/qt-creator
QmlProfiler: Make some QmlProfilerDetailsRewriter members private
Change-Id: I973c77eadf35e814352edaac3992437cf2c4be66 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -46,19 +46,18 @@ public:
|
|||||||
void requestDetailsForLocation(int typeId, const QmlEventLocation &location);
|
void requestDetailsForLocation(int typeId, const QmlEventLocation &location);
|
||||||
QString getLocalFile(const QString &remoteFile);
|
QString getLocalFile(const QString &remoteFile);
|
||||||
void reloadDocuments();
|
void reloadDocuments();
|
||||||
void documentReady(QmlJS::Document::Ptr doc);
|
|
||||||
void populateFileFinder(const ProjectExplorer::RunConfiguration *runConfiguration);
|
void populateFileFinder(const ProjectExplorer::RunConfiguration *runConfiguration);
|
||||||
|
|
||||||
struct PendingEvent {
|
|
||||||
QmlEventLocation location;
|
|
||||||
int typeId;
|
|
||||||
};
|
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void rewriteDetailsString(int typeId, const QString &details);
|
void rewriteDetailsString(int typeId, const QString &details);
|
||||||
void eventDetailsChanged();
|
void eventDetailsChanged();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
struct PendingEvent {
|
||||||
|
QmlEventLocation location;
|
||||||
|
int typeId;
|
||||||
|
};
|
||||||
|
|
||||||
QMultiHash<QString, PendingEvent> m_pendingEvents;
|
QMultiHash<QString, PendingEvent> m_pendingEvents;
|
||||||
Utils::FileInProjectFinder m_projectFinder;
|
Utils::FileInProjectFinder m_projectFinder;
|
||||||
QHash<QString, QString> m_filesCache;
|
QHash<QString, QString> m_filesCache;
|
||||||
@@ -67,6 +66,9 @@ private:
|
|||||||
const QmlEventLocation &location);
|
const QmlEventLocation &location);
|
||||||
void connectQmlModel();
|
void connectQmlModel();
|
||||||
void disconnectQmlModel();
|
void disconnectQmlModel();
|
||||||
|
void documentReady(QmlJS::Document::Ptr doc);
|
||||||
|
|
||||||
|
friend class QTypeInfo<PendingEvent>;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Internal
|
} // namespace Internal
|
||||||
|
|||||||
Reference in New Issue
Block a user