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/context_holder.h

18 lines
319 B
C
Raw Normal View History

2019-12-13 17:45:27 +08:00
#ifndef CONTEXT_HOLDER_H
#define CONTEXT_HOLDER_H
#include "context.h"
2019-12-14 18:28:04 +08:00
class ContextHolder : public QObject {
Q_OBJECT
2019-12-13 17:45:27 +08:00
public:
Context *_context;
public:
2019-12-14 18:28:04 +08:00
ContextHolder(Context *context, QObject *parent = nullptr) : QObject(parent) {
2019-12-13 17:45:27 +08:00
this->_context = context;
}
};
#endif // CONTEXT_HOLDER_H