forked from qt-creator/qt-creator
QmlProfiler: Allow preselection of events to be recorded
This allows us to reduce the amount of data we need to handle if the user isn't interested in certain categories. Task-number: QTBUG-41118 Change-Id: Ieaac12fb1dec29d6035642f433bc1a1d49e545c2 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -56,6 +56,7 @@ public:
|
||||
QmlProfilerState currentState();
|
||||
bool clientRecording();
|
||||
bool serverRecording();
|
||||
quint64 recordingFeatures() const;
|
||||
|
||||
QString currentStateAsString();
|
||||
|
||||
@@ -63,11 +64,13 @@ signals:
|
||||
void stateChanged();
|
||||
void clientRecordingChanged();
|
||||
void serverRecordingChanged();
|
||||
void recordingFeaturesChanged(quint64);
|
||||
|
||||
public slots:
|
||||
void setCurrentState(QmlProfilerState newState);
|
||||
void setClientRecording(bool recording);
|
||||
void setServerRecording(bool recording);
|
||||
void setRecordingFeatures(quint64 features);
|
||||
|
||||
private:
|
||||
class QmlProfilerStateManagerPrivate;
|
||||
|
||||
Reference in New Issue
Block a user