Le lundi 24 juin 2013 11:02:15 Leonardo Giordani a écrit : > Hi all, > > anyone using emacs to develop KDE/Qt applications under Kubuntu? > I'm on Kubuntu 13.04 and I'm fighting with cc-mode since i get the > following bad indentation: > > class PlasmaTutorial1 : public Plasma::Applet > { > Q_OBJECT > > public: > [...] > > private: > [...] > }; > > "public" is always indented. The cc-mode version is 5.31.8 and Qt should be > supported. > If I put a semicolon after Q_OBJECT everything works, but usually KDE/Qt > code deos not have it.
Checkout the git module kde-dev-scripts, its subdirectory kde-emacs has everything you need (and more). -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE, in particular KDE Frameworks 5 >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<