From cb7ac8c92b68b2229e8d1759bbce3d0e2b597c17 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 5 Nov 2014 13:16:58 -0500 Subject: Add a new utility: lumina-search This utility provides quick searching for applications (the default), or for searching the entire user's home directory. The file search also supports the "*" wildcard for the search terms. --- lumina-search/Worker.cpp | 102 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 lumina-search/Worker.cpp (limited to 'lumina-search/Worker.cpp') diff --git a/lumina-search/Worker.cpp b/lumina-search/Worker.cpp new file mode 100644 index 00000000..6dc750cb --- /dev/null +++ b/lumina-search/Worker.cpp @@ -0,0 +1,102 @@ +#include "Worker.h" + +#include +#include + +Worker::Worker(QObject *parent) : QObject(parent){ + //Get the list of all applications and save them in an easily-searchable form + QList apps = LXDG::systemDesktopFiles(); + for(int i=0; i