[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KDE/Qt + emacs in Kubuntu
From:       David Faure <faure () kde ! org>
Date:       2013-06-24 9:58:15
Message-ID: 3139984.LNo8yeU28N () asterix
[Download RAW message or body]

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, faure@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 <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic