Hi,

the integrated formatter of the new release is awesome, but unfortunately if I use Q_OBJECT in a header file the formatter gets crazy. Anyone the same Problem? Solutions?

(I use the build-in GNU formatting, and after some formatting-turns I get:
Qt Code:
  1. #ifndef STACKADDTEXT_H
  2. #define STACKADDTEXT_H
  3.  
  4. #include <QtGui>
  5. #include "ui_stackaddtext.h"
  6.  
  7. class StackAddText : public QWidget
  8. {
  9. Q_OBJECT
  10.  
  11. public:
  12. StackAddText(QWidget *parent = 0) ;
  13. ~ StackAddText();
  14.  
  15. private:
  16. Ui::StackAddTextClass ui;
  17. };
  18.  
  19. #endif // STACKADDTEXT_H
To copy to clipboard, switch view to plain text mode 
Uncommenting Q_OBJECT: all fine!


Thanks,

Lykurg