This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-Qt/doric/utils/DoricDialogBridge.h

29 lines
768 B
C
Raw Normal View History

2021-04-22 13:42:38 +08:00
#ifndef DORICDIALOGBRIDGE_H
#define DORICDIALOGBRIDGE_H
#include <QObject>
class DoricDialogBridge : public QObject {
Q_OBJECT
public:
explicit DoricDialogBridge(QObject *parent = nullptr);
Q_INVOKABLE
void onAccepted(QString windowPointer, QString pluginPointer,
QString callbackId);
2021-04-22 14:48:16 +08:00
Q_INVOKABLE
void onAcceptedWithInput(QString windowPointer, QString pluginPointer,
QString callbackId, QString input);
2021-04-22 13:42:38 +08:00
Q_INVOKABLE
void onRejected(QString windowPointer, QString pluginPointer,
QString callbackId);
2021-04-22 14:48:16 +08:00
Q_INVOKABLE
void onRejectedWithInput(QString windowPointer, QString pluginPointer,
QString callbackId, QString input);
2021-04-22 13:42:38 +08:00
};
#endif // DORICDIALOGBRIDGE_H