QmlProfiler: Make some QmlProfilerDetailsRewriter members private

Change-Id: I973c77eadf35e814352edaac3992437cf2c4be66
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Ulf Hermann
2017-08-14 11:09:21 +02:00
parent 6de5650241
commit ea21d3fdfb

View File

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