Source

embeddedpyqt / src / test.h

#ifndef TEST_H
#define TEST_H

#include <QObject>

class Test : public QObject
{
    Q_OBJECT
public:

    Q_INVOKABLE explicit Test();

signals:

public slots:
    void test();
    int calc(int a, int b);
};

#endif // TEST_H