First thx for the fast reply.

Yes i thought i was doing it the right at least i tried it that way making a public slot writing my function there and try to use it but doesn't work the function itself works but when i want to connect it it just doesn't do anything.

in my class i made a public slots: section with my function in it.

Any ideas what i could have done wrong?