@wysota:

1) What do you mean? I include and inheritance QObject in the classes... Can you explain (with an example?)?

@marcel:

2) How can I read the version? When I do this:

Qt Code:
  1. setData("File generated by QQMsn " + VERSION);
To copy to clipboard, switch view to plain text mode 

(debugger.cpp)

It doesn't work (VERSION not declared). How can I read it? Can you give a little example?

3) Which thing do I still have to delete in main? Do you mean this:

Qt Code:
  1. debugger *debug = new debugger("QQMsn_debug",true);
  2. cmsn *msn = new cmsn();
  3. Window_Login *window_login = 0;
  4. Window_Login_Busy *login_busy = 0;
To copy to clipboard, switch view to plain text mode 

?

But when I put these in main, I can't use extern in other files... Can you give an example?