30 lines
538 B
C
Raw Normal View History

#pragma once
2014-07-19 18:26:08 +02:00
// Qt
#include <QObject>
#include <functional>
// DOtherSide
2015-12-29 11:21:49 +01:00
#include "DOtherSideTypesCpp.h"
#include "DOtherSide/IDosQObject.h"
namespace DOS
2014-07-19 18:26:08 +02:00
{
/// This class model a QObject
class DosQObject : public QObject, public IDosQObject
{
public:
/// Constructor
DosQObject(OnMetaObject onMetaObject,
OnSlotExecuted onSlotExecuted);
/// Emit a signal
bool emitSignal(const QString& name, const std::vector<QVariant>& arguments) override;
private:
IDosQObject* m_impl;
2014-07-19 18:26:08 +02:00
};
2015-02-04 23:02:26 +01:00
} // namespace DOS