Review Request 119617: Plasma Mobile: Introduce org.kde.plasma.baloodatamodel

Vishesh Handa me at vhanda.in
Tue Aug 5 14:09:03 UTC 2014



> On Aug. 5, 2014, 12:29 p.m., Marco Martin wrote:
> > two things:
> > * perhaps the query should still be executed in a thread
> > * maybe the syntax from qml would be nicer if the query is in a sub object to have something like:
> > 
> > BalooModel {
> >     query {
> >         type: "File/Image"
> >         date: "2012/03"
> >     }
> > }

We mostly have the following properties which need to be represented.
* Type
* Date
* Query String
* Sorting Order (might not matter)
* custom options - These are used to specify if one should only search under a particular directory for files.

Apart from that there are the Terms, but those are quite complex to represent in QML.


- Vishesh


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119617/#review63848
-----------------------------------------------------------


On Aug. 5, 2014, 12:22 p.m., Antonis Tsiapaliokas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/119617/
> -----------------------------------------------------------
> 
> (Updated Aug. 5, 2014, 12:22 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Repository: plasma-mobile
> 
> 
> Description
> -------
> 
> This component allows us to fetch files from the baloo.
> 
> 
> Diffs
> -----
> 
>   CMakeLists.txt e90cec6 
>   components/CMakeLists.txt 536b60e 
>   components/baloodatamodel/CMakeLists.txt PRE-CREATION 
>   components/baloodatamodel/baloodatamodel.h PRE-CREATION 
>   components/baloodatamodel/baloodatamodel.cpp PRE-CREATION 
>   components/baloodatamodel/baloodatamodelplugin.h PRE-CREATION 
>   components/baloodatamodel/baloodatamodelplugin.cpp PRE-CREATION 
>   components/baloodatamodel/qmldir PRE-CREATION 
> 
> Diff: https://git.reviewboard.kde.org/r/119617/diff/
> 
> 
> Testing
> -------
> 
> Everything works, we can get:
> 
> * the file id
> * the file icon
> * the file url
> * the file text
> 
> 
> Thanks,
> 
> Antonis Tsiapaliokas
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140805/a54eb8c9/attachment-0001.html>


More information about the Plasma-devel mailing list