#pragma once #include #include #include struct ApiTraceError; class LeakTraceThread: public QThread{ Q_OBJECT public: LeakTraceThread(QString _filename):filename(_filename){} bool hasError()const {return error;} signals: void leakTraceErrors(const QList &errors); protected: virtual void run(); private: QString filename; bool error=false; };