Quote Originally Posted by artt View Post
Qt Code:
  1. 1. void IThread::run()
  2. {
  3. static void Lister::walk(QString path0);
  4. }
  5.  
  6. ERRROR:invalid use of qualified-name 'Lister::walk'
  7.  
  8. 2.
  9. void IThread::run()
  10. {
  11. Lister::walk(QString);
  12. }
  13.  
  14. ERROR:expected primary-expression before ')' token
To copy to clipboard, switch view to plain text mode 
The first one doesn't make sense. You want to call a function, not declare one.

The second one is a function call, but you are passing a type as the argument instead of a value.
Since that would not work in Java either I have now serious doubts that you have even programmed a single line in Java as well.

Quote Originally Posted by artt View Post
There is also run-time error with the argument of walk(pp) - so should I understand that I need just walk()?
QString p="C:\\C";
Object::connect: No such slot Lister::walk(pp) in ..\Filewalker2\main.cpp:32
That has been already been answered several times.

Cheers,
_