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

List:       kde-devel
Subject:    Re: KNewStuff questions (uninstalling/providers)
From:       Jeremy Whiting <jpwhiting () kde ! org>
Date:       2011-01-13 3:47:29
Message-ID: AANLkTimmNEqMqxJeyhWpZGL8B74mCCoQAFVmSjcVSR4K () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Frederik,

Any thoughts on this?  I know there was a reason we didn't install the
Engine header, but is there a way we can provide api to uninstall or install
items programatically?

thanks,
Jeremy

On Sat, Jan 8, 2011 at 6:05 PM, Martin
<darklight.xdarklight@googlemail.com>wrote:

> Hi,
>
> currently I'm trying to add KNewStuff3 support in yakuake.
> Unfortunately I've come to a point where I need some help.
>
> My first problem is that we want to validate the "entries" after installing
> them.
> Since there's not entryInstalled() signal in KNS3::DownloadWidget we agreed
> to
> validate all installed entries after the dialog/widget was closed.
> I implemented that, but it seems that it's not possible to uninstall an
> entry
> via code after it's been installed.
> The user would have to manually uninstall it via the UI.
>
> The main problem here is that the KNS3::Engine header is not installed [0].
> Having it installed would solve my problem.
> Do you think the header could be installed (plus having that fix backported
> to
> the 4.6 branch), since it does not break anything (but add something useful
> instead)?
> I'm not sure what would speak against it, as the KNS2::Engine header is
> already installed.
>
> My second problem is the provider configuration.
> I'm not sure what I'm doing wrong, since calling the opendesktop API
> directly
> ([1]) only lists one entry.
> But when using knewstuff4 and the knsrc file (see [2]) it lists quite a few
> entries, which are in different categories.
> Is there something wrong with my knsrc file or is there some other
> configuration
> (maybe on the opendesktop.org side?) required for the "Yakuake Skins"
> category
> (this category is available on kde-look.org: [3]).
>
>
> Thanks in advance
> Regards,
> Martin
>
> PS: Please keep me CC'ed as I'm not subscribed to the list.
>
>
> [0] http://api.kde.org/4.x-api/kdelibs-
> apidocs/knewstuff/html/classKNS3_1_1Engine.html
> [1] http://api.opendesktop.org/v1/content/data?categories=87
> [2] http://paste.kde.org/2050/
> [3] http://kde-look.org/index.php?xcontentmode=87
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> unsubscribe <<
>

[Attachment #5 (text/html)]

Frederik,<br><br>Any thoughts on this?  I know there was a reason we didn&#39;t \
install the Engine header, but is there a way we can provide api to uninstall or \
install items programatically?<br><br>thanks,<br>Jeremy<br><br> <div \
class="gmail_quote">On Sat, Jan 8, 2011 at 6:05 PM, Martin <span dir="ltr">&lt;<a \
href="mailto:darklight.xdarklight@googlemail.com">darklight.xdarklight@googlemail.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; \
border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> Hi,<br>
<br>
currently I&#39;m trying to add KNewStuff3 support in yakuake.<br>
Unfortunately I&#39;ve come to a point where I need some help.<br>
<br>
My first problem is that we want to validate the &quot;entries&quot; after \
installing<br> them.<br>
Since there&#39;s not entryInstalled() signal in KNS3::DownloadWidget we agreed \
to<br> validate all installed entries after the dialog/widget was closed.<br>
I implemented that, but it seems that it&#39;s not possible to uninstall an entry<br>
via code after it&#39;s been installed.<br>
The user would have to manually uninstall it via the UI.<br>
<br>
The main problem here is that the KNS3::Engine header is not installed [0].<br>
Having it installed would solve my problem.<br>
Do you think the header could be installed (plus having that fix backported to<br>
the 4.6 branch), since it does not break anything (but add something useful<br>
instead)?<br>
I&#39;m not sure what would speak against it, as the KNS2::Engine header is<br>
already installed.<br>
<br>
My second problem is the provider configuration.<br>
I&#39;m not sure what I&#39;m doing wrong, since calling the opendesktop API \
directly<br> ([1]) only lists one entry.<br>
But when using knewstuff4 and the knsrc file (see [2]) it lists quite a few<br>
entries, which are in different categories.<br>
Is there something wrong with my knsrc file or is there some other configuration<br>
(maybe on the <a href="http://opendesktop.org" target="_blank">opendesktop.org</a> \
side?) required for the &quot;Yakuake Skins&quot; category<br> (this category is \
available on <a href="http://kde-look.org" target="_blank">kde-look.org</a>: \
[3]).<br> <br>
<br>
Thanks in advance<br>
Regards,<br>
Martin<br>
<br>
PS: Please keep me CC&#39;ed as I&#39;m not subscribed to the list.<br>
<br>
<br>
[0] <a href="http://api.kde.org/4.x-api/kdelibs-" \
target="_blank">http://api.kde.org/4.x-api/kdelibs-</a><br> \
apidocs/knewstuff/html/classKNS3_1_1Engine.html<br> [1] <a \
href="http://api.opendesktop.org/v1/content/data?categories=87" \
target="_blank">http://api.opendesktop.org/v1/content/data?categories=87</a><br> [2] \
<a href="http://paste.kde.org/2050/" \
target="_blank">http://paste.kde.org/2050/</a><br> [3] <a \
href="http://kde-look.org/index.php?xcontentmode=87" \
target="_blank">http://kde-look.org/index.php?xcontentmode=87</a><br> <br>
&gt;&gt; Visit <a href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub" \
target="_blank">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> to \
unsubscribe &lt;&lt;<br> </blockquote></div><br>



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