2015-07-08 22:55:38 +02:00
|
|
|
#pragma once
|
2015-02-04 23:02:26 +01:00
|
|
|
|
2016-03-03 22:38:52 +01:00
|
|
|
// std
|
|
|
|
#include <vector>
|
|
|
|
// Qt
|
|
|
|
#include <QtCore/QObject>
|
|
|
|
#include <QtCore/QString>
|
|
|
|
#include <QtCore/QVariant>
|
|
|
|
#include <QtCore/QMetaObject>
|
2016-01-04 23:03:57 +01:00
|
|
|
|
2016-01-23 19:08:58 +01:00
|
|
|
namespace DOS {
|
2015-12-29 11:21:49 +01:00
|
|
|
|
2016-01-23 18:40:17 +01:00
|
|
|
class DosIQObjectImpl
|
2015-02-04 23:02:26 +01:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
/// Destructor
|
2016-01-23 18:40:17 +01:00
|
|
|
virtual ~DosIQObjectImpl() = default;
|
2015-02-04 23:02:26 +01:00
|
|
|
|
|
|
|
/// Emit the signal with the given name and arguments
|
2016-03-28 21:36:34 +02:00
|
|
|
virtual bool emitSignal(QObject *emitter, const QString &name, const std::vector<QVariant> &argumentsValues) = 0;
|
2016-01-16 20:19:48 +01:00
|
|
|
|
|
|
|
/// Return the metaObject
|
2016-01-23 19:08:58 +01:00
|
|
|
virtual const QMetaObject *metaObject() const = 0;
|
2016-01-16 20:19:48 +01:00
|
|
|
|
|
|
|
/// The qt_metacall implementation
|
2016-01-23 19:08:58 +01:00
|
|
|
virtual int qt_metacall(QMetaObject::Call, int, void **) = 0;
|
2015-02-04 23:02:26 +01:00
|
|
|
};
|
2015-12-29 11:21:49 +01:00
|
|
|
|
2016-01-23 17:50:44 +01:00
|
|
|
} // namespace dos
|