I am writing a piece of code that handles callback from a C-library I link against. This library uses a callback function to show progress in a decoding run. I am using a static member function in a thread to act as the callback function, and I want to emit a signal from it to inform the GUI thread of the decoding progress. However, I can't get it to compile and I can't seem to find anyone who solved a similar problem. The error I am getting is:

Qt Code:
  1. /home/valheru/svn/knewz/src/decoder.cc: In static member function ‘static int Decoder::BusyCallback(void*, uuprogress*)’:
  2. /home/valheru/svn/knewz/src/decoder.cc:40: error: cannot call member function ‘void Decoder::progress(const int&)’ without object
To copy to clipboard, switch view to plain text mode 

Does anyone know a workaround for this, or is it simply impossible to emit signals from static member of a class?