mirror of
https://github.com/status-im/dotherside.git
synced 2025-02-08 02:33:37 +00:00
25 lines
552 B
C++
25 lines
552 B
C++
#pragma once
|
|
|
|
class QMetaObject;
|
|
|
|
namespace DOS
|
|
{
|
|
|
|
class IDosQObject
|
|
{
|
|
public:
|
|
/// Destructor
|
|
virtual ~IDosQObject() = default;
|
|
|
|
/// Emit the signal with the given name and arguments
|
|
virtual bool emitSignal(const QString& name, const std::vector<QVariant>& argumentsValues) = 0;
|
|
|
|
/// 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;
|
|
};
|
|
|
|
} // namespace DOS
|