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

List:       kde-panel-devel
Subject:    Re: how to access data from dataEngine::query in javascript?
From:       Thomas Fjellstrom <tfjellstrom () shaw ! ca>
Date:       2010-06-30 6:35:52
Message-ID: 201006300035.52820.tfjellstrom () shaw ! ca
[Download RAW message or body]

On June 29, 2010, Aaron J. Seigo wrote:
> On June 29, 2010, Thomas Fjellstrom wrote:
> > Oh right, just remembered why I needed the extra sources. At least the
> > Manual source has a service that allows you to add and delete hosts. I
> > imagine the other sources may want services for setting various things.
> 
> this is why we have DataEngine::createDefaultService(QObject *parent =
> 0); it's new in 4.5, but lets you create a Service plugin that gets
> loaded on request from the DataEngine :)

Then I would need to split out the different discovery mechanisms into 
separate DataEngine's wouldn't I? Currently a single DataEngine is used for 
more than one discovery mechanism. It would have to some how know which 
mechanism to operate on.

To be honest though I /think/ I can just add the discovery sources and just 
ignore them in the main visualization code (except of course for when I want 
to use a service on them).

I'm also planning on sticking to Debian's packages for kde, I've learned 
that it is rather difficult to build KDE for Debian and have it work 100% 
correctly (especially wrt python support). Which means I'm not upgrading to 
4.5 and its api's till it's officially released for Debian (as much as I'd 
like to, I used to build kde from svn using kdesvn-build a lot during the 
4.0-4.2 days. But now that KDE has stabilized quite a lot, I'd prefer to 
have a stable system over the latest and greatest).

-- 
Thomas Fjellstrom
tfjellstrom@shaw.ca
_______________________________________________
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