Commit de16179f authored by Michael Heidelbach's avatar Michael Heidelbach
Browse files

baloosearchrunner: Add 3 search types

Summary:
baloo can also handle the following types
  - Archive
  - Spreadsheet
  - Presentation
Let's use them

Test Plan: None, see D10623

Reviewers: #plasma_workspaces, davidedmundson

Reviewed By: #plasma_workspaces, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D10624
parent 09f5305f
......@@ -123,6 +123,9 @@ void SearchRunner::performMatch()
matches << matchInternal(m_searchTerm, QStringLiteral("Document"), i18n("Document"));
matches << matchInternal(m_searchTerm, QStringLiteral("Video"), i18n("Video"));
matches << matchInternal(m_searchTerm, QStringLiteral("Folder"), i18n("Folder"));
matches << matchInternal(m_searchTerm, QStringLiteral("Archive"), i18n("Archive"));
matches << matchInternal(m_searchTerm, QStringLiteral("Spreadsheet"), i18n("Spreadsheet"));
matches << matchInternal(m_searchTerm, QStringLiteral("Presentation"), i18n("Presentation"));
QDBusConnection::sessionBus().send(m_lastRequest.createReply(QVariant::fromValue(matches)));
m_lastRequest = QDBusMessage();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment