2015-07-08 22:55:38 +02:00
|
|
|
#pragma once
|
2015-02-04 23:02:26 +01:00
|
|
|
|
2016-01-04 23:03:57 +01:00
|
|
|
class QMetaObject;
|
|
|
|
|
2015-12-29 11:21:49 +01:00
|
|
|
namespace DOS
|
|
|
|
{
|
|
|
|
|
2016-01-07 12:04:40 +01:00
|
|
|
class IDosQObject
|
2015-02-04 23:02:26 +01:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
/// Destructor
|
2016-01-07 12:04:40 +01:00
|
|
|
virtual ~IDosQObject() = default;
|
2015-02-04 23:02:26 +01:00
|
|
|
|
|
|
|
/// Emit the signal with the given name and arguments
|
2015-12-28 13:21:02 +01:00
|
|
|
virtual bool emitSignal(const QString& name, const std::vector<QVariant>& argumentsValues) = 0;
|
2016-01-04 23:03:57 +01:00
|
|
|
|
|
|
|
/// Implementation of QObject::metaObject
|
|
|
|
virtual const QMetaObject* metaObject() const = 0;
|
|
|
|
|
|
|
|
/// Implementation of QObject::qt_metacall
|
|
|
|
virtual int qt_metacall(QMetaObject::Call callType, int index, void**args) = 0;
|
2015-02-04 23:02:26 +01:00
|
|
|
};
|
2015-12-29 11:21:49 +01:00
|
|
|
|
|
|
|
} // namespace DOS
|