Migration of QtMvvm from github
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

20 lines
319 B

#ifndef ECHOSERVICE_H
#define ECHOSERVICE_H
#include <QtCore/QObject>
class EchoService : public QObject
{
Q_OBJECT
public:
Q_INVOKABLE explicit EchoService(QObject *parent = nullptr);
public Q_SLOTS:
void ping(const QString &message);
Q_SIGNALS:
void pong(const QString &message);
};
#endif // ECHOSERVICE_H