akondi-mime5/akonadi-mime5/tests/foldersrequester.h
Ward from fusion-voyager-3 a8e7e301c1
Some checks failed
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Failing after 12s
fixx akondi
2024-08-05 17:19:50 +03:00

31 lines
618 B
C++

/*
SPDX-FileCopyrightText: 2009 Constantin Berzan <exit3219@gmail.com>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#pragma once
#include <QObject>
class KJob;
/**
This class requests some LocalFolders, then exits the app with a status of 2
if they were delivered OK, or 1 if they were not.
NOTE: The non-standard exit status 2 in case of success is to make feel more
comfortable than checking for zero (I actually had a bug causing it to always
return zero).
*/
class Requester : public QObject
{
Q_OBJECT
public:
Requester();
private Q_SLOTS:
void requestResult(KJob *job);
};