X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=gui%2Fapitracecall.h;h=0f395a5b501b17a7103695b121770bf68196d2be;hb=7c1793eb827aa301bb92991238f1bee0fe49df40;hp=3bf4c644a61673f4ca8f09a1ad75d66f5390f3d5;hpb=e6bc9120fc4c954d2f8833100cca7715d91d7d9b;p=apitrace diff --git a/gui/apitracecall.h b/gui/apitracecall.h index 3bf4c64..0f395a5 100644 --- a/gui/apitracecall.h +++ b/gui/apitracecall.h @@ -11,6 +11,8 @@ #include "trace_model.hpp" +class ApiTrace; + class VariantVisitor : public Trace::Visitor { public: @@ -202,8 +204,13 @@ public: int number; QList calls; + ApiTrace *parentTrace() const; + void setParentTrace(ApiTrace *trace); + int numChildren() const; QStaticText staticText() const; +private: + ApiTrace *m_parentTrace; }; Q_DECLARE_METATYPE(ApiTraceFrame*);