zxey 6422c85670 Fix relative include (#73)
Fixes include that is relative to include path to absolute path as it is with other qt includes.
2018-03-29 23:25:33 +02:00

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