Hi,

i use this Example for dynamic translation.

How can i verify if my applicatin begin and end translating? I have try to send a signal:

application.h
Qt Code:
  1. class Application : public QApplication
  2. {
  3. Q_OBJECT
  4.  
  5. public:
  6. explicit Application(int& argc, char* argv[]);
  7. ~Application();
  8.  
  9. //...
  10.  
  11. public slots:
  12. static void setLanguage(const QString& locale);
  13. // ...
  14.  
  15. signals:
  16. static void languageChanging(int);
  17. };
To copy to clipboard, switch view to plain text mode 

application.cpp
Qt Code:
  1. void Application::setLanguage(const QString& locale)
  2. {
  3. emit languageChanging(true);
  4.  
  5. // remove previous
  6. if (current)
  7. {
  8. removeTranslator(current);
  9. }
  10.  
  11. // install new
  12. current = translators.value(locale, 0);
  13. if (current)
  14. {
  15. installTranslator(current);
  16. }
  17.  
  18. emit languageChanging(false);
  19. }
To copy to clipboard, switch view to plain text mode 

but my compiler say error ... : static member functions do not have 'this' pointers
and i think thats OK but what can i do?