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
2021-07-21 19:03:29 +08:00

14 lines
389 B
C++

#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();
}