kdeconnect-kde/plugins/sftp/mountloop.h

27 lines
495 B
C
Raw Permalink Normal View History

2014-01-21 19:49:50 +00:00
/**
* SPDX-FileCopyrightText: 2014 Samoilenko Yuri <kinnalru@gmail.com>
2014-01-21 19:49:50 +00:00
*
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
2014-01-21 19:49:50 +00:00
*/
#pragma once
2014-01-21 19:49:50 +00:00
#include <QEventLoop>
class MountLoop : public QEventLoop
{
Q_OBJECT
public:
MountLoop();
2014-01-21 19:49:50 +00:00
bool exec(QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents);
2014-01-21 19:49:50 +00:00
Q_SIGNALS:
void result(bool status);
2014-01-21 19:49:50 +00:00
public Q_SLOTS:
void failed();
2020-08-06 12:51:31 +01:00
void succeeded();
2014-01-21 19:49:50 +00:00
void exitWith(bool status);
};