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/example/doric/utils/DoricSwitchBridge.h

20 lines
361 B
C
Raw Normal View History

2021-05-27 18:18:30 +08:00
#ifndef DORICSWITCHBRIDGE_H
#define DORICSWITCHBRIDGE_H
#include <QObject>
#include <QVariant>
#include "DoricExport.h"
class DORIC_EXPORT DoricSwitchBridge : public QObject {
Q_OBJECT
public:
explicit DoricSwitchBridge(QObject *parent = nullptr);
Q_INVOKABLE
void onSwitch(QString pointer, bool checked);
signals:
};
#endif // DORICSWITCHBRIDGE_H