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

List:       kde-core-devel
Subject:    Re: Library/Routine for generating Freedesktop Menu?
From:       "Kelly Miller" <lightsolphoenix () gmail ! com>
Date:       2008-05-23 21:04:03
Message-ID: a785db460805231404k548aa4eub26f577356fc7369 () mail ! gmail ! com
[Download RAW message or body]

Actually, now I have a few interesting questions about Kickoff, because I
see that the menu is run through qStableSort at the very end of fillNode; if
that is so, why does it never seem to be in order?  And there's a slot for
updating the list dynamically, yet I've never seen it updated dynamically
this way in either KDE 4.0 or KDE 4.1 alpha...

On Wed, May 21, 2008 at 5:27 AM, Aaron J. Seigo <aseigo@kde.org> wrote:

> > (though mine probably won't be
> > called that, for sake of avoiding confusion), and I'm curious as to
> > whether kdelibs/kdebase has a function for generating the menu structure
> > from the XML files already.  Does it?
>
> yes: KServiceGroup, and KService. you can see an example of its use in
> kdebase/workspace/plasma/applets/kickoff/core/applicationmodel.cpp,
> particularly in the fillNode method.
>

[Attachment #3 (text/html)]

Actually, now I have a few interesting questions about Kickoff, because I see that \
the menu is run through qStableSort at the very end of fillNode; if that is so, why \
does it never seem to be in order?&nbsp; And there&#39;s a slot for updating the list \
dynamically, yet I&#39;ve never seen it updated dynamically this way in either KDE \
4.0 or KDE 4.1 alpha...<br> <br><div class="gmail_quote">On Wed, May 21, 2008 at 5:27 \
AM, Aaron J. Seigo &lt;<a href="mailto:aseigo@kde.org">aseigo@kde.org</a>&gt; \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> &gt; (though mine probably \
won&#39;t be<br><div class="Ih2E3d"> &gt; called that, for sake of avoiding \
confusion), and I&#39;m curious as to<br> &gt; whether kdelibs/kdebase has a function \
for generating the menu structure<br> &gt; from the XML files already. &nbsp;Does \
it?<br> <br>
</div>yes: KServiceGroup, and KService. you can see an example of its use in<br>
kdebase/workspace/plasma/applets/kickoff/core/applicationmodel.cpp,<br>
particularly in the fillNode method.<font color="#888888"><br>
</font></blockquote></div><br>



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

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