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/DoricSlideItemBridge.cpp

14 lines
389 B
C++
Raw Permalink Normal View History

2021-05-31 19:28:45 +08:00
#include "DoricSlideItemBridge.h"
#include "shader/slider/DoricSlideItemNode.h"
DoricSlideItemBridge::DoricSlideItemBridge(QObject *parent) : QObject(parent) {}
void DoricSlideItemBridge::apply(QString pointer) {
QObject *object = (QObject *)(pointer.toULongLong());
DoricSlideItemNode *slideItemNode =
dynamic_cast<DoricSlideItemNode *>(object);
slideItemNode->apply();
}