<div dir="ltr">Yes. It's kde4.</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-21 10:29 GMT+02:00 Marco Martin <span dir="ltr"><<a href="mailto:notmart@gmail.com" target="_blank">notmart@gmail.com</a>></span>:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Sunday 20 July 2014, Simone Gaiarin wrote:<br>
> Hi all,<br>
> I'm trying to use the global shortcut that the user can configure from the<br>
> "Shortcut configuration page" of a plasma applet, to trigger a KAction and<br>
> let the plasmoid do something.<br>
><br>
> I've done this<br>
><br>
>     //Setup the action<br>
>     m_toggleAction = new KAction("ToggleAction", this);<br>
>     //Add action to the plasmoid action collection<br>
>     addAction("ToggleAction", m_toggleAction);<br>
>     m_toggleAction->setGlobalShortcut(globalShortcut());<br>
>     connect(m_toggleAction, SIGNAL(triggered(bool)), this, SLOT(toggle()));<br>
><br>
> but nothing happens when I trigger the shortcut. Do anyone know what I'm<br>
> missing?<br>
> Is there any plasmoid that is using the global shortcut feature?<br>
><br>
> Thanks<br>
<br>
</div></div>hmm, that's kde4, right?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Marco Martin<br>
_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
</font></span></blockquote></div><br></div>