Hi,

On Mon, Dec 5, 2011 at 12:50 AM, Guillaume DE BURE <
guillaume.deb...@gmail.com> wrote:

>
> file:///.../main.qml:36: Unable to assign [undefined] to QString text
>
> That would indicate that there is no source connected, right ? So what did
> I
> do wrong ?
>

The DataSource has no property called "count". Hence [undefined]. You can
have a look at the API here:
http://techbase.kde.org/Development/Tutorials/Plasma/QML/API#DataSource

Also, since you've already declared connectedSources in the DataSource, you
don't need to redo it inside Component.onCompleted ;)

Cheers,
Viranch
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to