QML widget for the Skrooge plasma dashboard

Viranch Mehta viranch.mehta at gmail.com
Mon Dec 5 05:55:56 UTC 2011


Hi,

On Mon, Dec 5, 2011 at 12:50 AM, Guillaume DE BURE <
guillaume.debure at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20111205/e17a4998/attachment-0001.html>


More information about the Plasma-devel mailing list