Akonadi Search

akonadisearchdebugsearchjob.h
1/*
2 SPDX-FileCopyrightText: 2014-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <QObject>
10#include <QStringList>
11class QProcess;
12namespace Akonadi
13{
14namespace Search
15{
16class AkonadiSearchDebugSearchJob : public QObject
17{
19public:
20 explicit AkonadiSearchDebugSearchJob(QObject *parent = nullptr);
21 ~AkonadiSearchDebugSearchJob() override;
22
23 void start();
24
25 void setAkonadiId(const QString &id);
26 void setArguments(const QStringList &args);
27 void setSearchPath(const QString &path);
28
30 void error(const QString &errorString);
31 void result(const QString &text);
32
33private:
34 void slotReadStandard();
35 void slotReadError();
36 QStringList mArguments;
37 QString mAkonadiId;
38 QString mPath;
39 QProcess *mProcess = nullptr;
40};
41}
42}
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:10:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.