--===============0620463872795199260== Content-Type: multipart/alternative; boundary=e89a8ffba0c3b9679804b77c4bf5 --e89a8ffba0c3b9679804b77c4bf5 Content-Type: text/plain; charset=ISO-8859-1 Alright, I'm almost where I want to be with this plasmoid. I just have one question about the way I'm accessing the data engine. Right now I have this code: PlasmaCore.DataSource { id: viewsSource engine: "flickrviewsengine2" interval: 0 Component.onCompleted: connectedSources = sources onSourceAdded: connectSource(source) } So when my plasmoid first starts up, it doesn't load until it has caused the data engine to grab all the data. Then I am able to access the engines' data via these buttons I've created: Button{ id: v1500 bLabel: "1500" onButtonClick: currentGroup = viewsSource.data["1500"]["Group 1500"] } (there are a bunch of them - one per group) If I wanted, instead, to have the data engine grab its data as I click on each of the buttons, so that the plasmoid could fully load first - how would I change my code? Thanks, -- Eric Mesa http://www.ericsbinaryworld.com --e89a8ffba0c3b9679804b77c4bf5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Alright, I'm almost where I want to be with this plasmoid. =A0I just ha= ve one question about the way I'm accessing the data engine. =A0Right n= ow I have this code:

PlasmaCore.DataSource {
<= div> =A0 =A0 =A0 =A0 =A0id: viewsSource
=A0 =A0 =A0 =A0 =A0engine: &qu= ot;flickrviewsengine2"
=A0 =A0 =A0 =A0 =A0interval: 0
<= div>=A0 =A0 =A0 =A0 =A0Component.onCompleted: connectedSources =3D sources<= /div>
=A0 =A0 =A0 =A0 =A0onSourceAdded: connectSource(source)
=A0 =A0 =A0}

So when my plasmoid first starts= up, it doesn't load until it has caused the data engine to grab all th= e data. =A0Then I am able to access the engines' data via these buttons= I've created:

Button{
=A0 =A0 =A0id: v1500
=A0 =A0 =A0bLabel: = "1500"
=A0 = =A0 =A0onButtonClick: currentGroup =3D viewsSource.data["1500"][&= quot;Group 1500"]
=A0 =A0}

(there are a bunch of them - one per group)
=

If I wanted, instead, to have the data engine grab its = data as I click on each of the buttons, so that the plasmoid could fully lo= ad first - how would I change my code? =A0

Thanks,
--
Eric Mesa
http://www.ericsbinaryworld.com
--e89a8ffba0c3b9679804b77c4bf5-- --===============0620463872795199260== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============0620463872795199260==--