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

List:       kde-devel
Subject:    KDE/Qt + emacs in Kubuntu
From:       Leonardo Giordani <giordani.leonardo () gmail ! com>
Date:       2013-06-24 9:02:15
Message-ID: CAEhE+OkVxMqo=L8pswh3JTvTHQn1GqdykdqOTjF_oE7UfVSDEg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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.

Any idea? Thank you

Leo



Leonardo Giordani
Author of The Digital Cat <http://lgiordani.github.com>
My profile on About.me <http://about.me/leonardo.giordani>

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div><div><div><div>Hi all,<br><br></div>anyone using emacs \
to develop KDE/Qt applications under Kubuntu?<br></div>I&#39;m on Kubuntu 13.04 and \
I&#39;m fighting with cc-mode since i get the following bad indentation:<br> \
<br>class PlasmaTutorial1 : public Plasma::Applet<br>{<br>  Q_OBJECT<br>  <br>  \
public:<br>  [...]<br>  <br>private:<br>  [...]<br>};<br><br></div>&quot;public&quot; \
is always indented. The cc-mode version is 5.31.8 and Qt should be supported.<br> \
</div>If I put a semicolon after Q_OBJECT everything works, but usually KDE/Qt code \
deos not have it.<br><br></div>Any idea? Thank \
you<br><br></div>Leo<br><div><div><div><div><div><div><br><br><br \
clear="all"><div><div><div> <div dir="ltr"><div>Leonardo Giordani<br></div>Author of \
<a href="http://lgiordani.github.com" target="_blank">The Digital Cat</a><br>My \
profile on <a href="http://about.me/leonardo.giordani" \
target="_blank">About.me</a><br> </div></div>
</div></div></div></div></div></div></div></div></div>



>> 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