mirror of
https://github.com/status-im/dotherside.git
synced 2025-02-07 10:14:41 +00:00
Fixes include that is relative to include path to absolute path as it is with other qt includes.
34 lines
765 B
C++
34 lines
765 B
C++
#pragma once
|
|
|
|
// Qt
|
|
#include <QtCore/QObject>
|
|
#include <functional>
|
|
// DOtherSide
|
|
#include "DOtherSideTypesCpp.h"
|
|
#include "DOtherSide/DosIQObjectImpl.h"
|
|
|
|
namespace DOS {
|
|
|
|
/// This class model a QObject
|
|
class DosQObject : public QObject, public DosIQObjectImpl
|
|
{
|
|
public:
|
|
/// Constructor
|
|
DosQObject(DosIQMetaObjectPtr metaObject,
|
|
OnSlotExecuted onSlotExecuted);
|
|
|
|
/// Emit a signal
|
|
bool emitSignal(QObject *emitter, const QString &name, const std::vector<QVariant> &arguments) override;
|
|
|
|
/// Return the metaObject
|
|
const QMetaObject *metaObject() const override;
|
|
|
|
/// The qt_metacall
|
|
int qt_metacall(QMetaObject::Call, int, void **) override;
|
|
|
|
private:
|
|
std::unique_ptr<DosIQObjectImpl> m_impl;
|
|
};
|
|
|
|
} // namespace DOS
|