29 lines
632 B
C
29 lines
632 B
C
|
#ifndef REMOTEFILEEVENTHELPER_H
|
||
|
#define REMOTEFILEEVENTHELPER_H
|
||
|
|
||
|
#include <QObject>
|
||
|
#include <QUrl>
|
||
|
|
||
|
class QRemoteObjectNode;
|
||
|
class FileEventHandlerReplica;
|
||
|
|
||
|
class RemoteFileEventHelper : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit RemoteFileEventHelper(QObject *parent = nullptr);
|
||
|
~RemoteFileEventHelper();
|
||
|
|
||
|
Q_SIGNALS:
|
||
|
void handleFileEventRequest(int type, const QString &arg1, const QString &arg2);
|
||
|
|
||
|
private:
|
||
|
void setupConnections();
|
||
|
static QUrl nodeUrl();
|
||
|
|
||
|
QRemoteObjectNode *m_remoteNode = nullptr;
|
||
|
FileEventHandlerReplica *m_fileEventHandlerIface = nullptr;
|
||
|
};
|
||
|
|
||
|
#endif // REMOTEFILEEVENTHELPER_H
|