[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: QML keysForSource failure.
From: Marco Martin <notmart () gmail ! com>
Date: 2011-07-07 9:29:43
Message-ID: 201107071129.43794.notmart () gmail ! com
[Download RAW message or body]
On Thursday 07 July 2011, Shaun Reich wrote:
> I'm using the following code:
>
> model : PlasmaCore.DataModel {
> dataSource: mainEngineSource.keysForSource["name"]
> }
>
> Yet I keep receiving:
>
> main.qml:100: Unable to assign [undefined] to QObject* dataSource
>
> I thought perhaps this meant that there -was- no datasource by that
> string. But I did a query inside the dataengine itself, and it says
> it's there :/
that's a method ;)
mainEngineSource.keysForSource("name")
--
Marco Martin
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic