#ifndef ERROREXAMPLE_H #define ERROREXAMPLE_H #include class errorexample { Q_OBJECT public: errorexample(); void createLeak(); }; #endif // ERROREXAMPLE_H