1 Star 2 Fork 0

wanggjghost/quickflux

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
qfmiddlewarelist.h 807 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ben Lau 提交于 2017-02-05 01:20 . Middlewares -> MiddlewareList
#pragma once
#include <QQuickItem>
#include <QPointer>
#include <qfactioncreator.h>
class QFMiddlewareList : public QQuickItem
{
Q_OBJECT
Q_PROPERTY(QObject* applyTarget READ applyTarget WRITE setApplyTarget NOTIFY applyTargetChanged)
public:
QFMiddlewareList();
QObject *applyTarget() const;
void setApplyTarget(QObject *applyTarget);
signals:
void applyTargetChanged();
public slots:
void apply(QObject* target);
void next(int senderId, QString type, QJSValue message);
protected:
void classBegin();
void componentComplete();
private slots:
void setup();
private:
QPointer<QQmlEngine> m_engine;
QPointer<QFActionCreator> m_actionCreator;
QPointer<QFDispatcher> m_dispatcher;
QJSValue invoke;
QPointer<QObject> m_applyTarget;
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/wanggjghost/quickflux.git
git@gitee.com:wanggjghost/quickflux.git
wanggjghost
quickflux
quickflux
master

搜索帮助