X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=gui%2Fapitracecall.h;h=c69a484e392947b8147dd87406c12827b24a15de;hb=581e3ff87bd15a05976f6a8713e62c074a624260;hp=f5c734a20a60f47f44f50e01d90d5de62f3e54a3;hpb=dd7f230899131db2fa281c30f162918ab7ff361c;p=apitrace diff --git a/gui/apitracecall.h b/gui/apitracecall.h index f5c734a..c69a484 100644 --- a/gui/apitracecall.h +++ b/gui/apitracecall.h @@ -117,8 +117,12 @@ public: virtual QStaticText staticText() const = 0; virtual int numChildren() const = 0; + QVariantMap state() const; + void setState(const QVariantMap &state); + protected: Type m_type; + QVariantMap m_state; }; Q_DECLARE_METATYPE(ApiTraceEvent*); @@ -153,8 +157,6 @@ public: int number; QList calls; - QVariantMap state; - int numChildren() const; QStaticText staticText() const; private: