diff options
Diffstat (limited to 'sample-qml/calledbyqml.h')
-rw-r--r-- | sample-qml/calledbyqml.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/sample-qml/calledbyqml.h b/sample-qml/calledbyqml.h deleted file mode 100644 index fbb5ef5..0000000 --- a/sample-qml/calledbyqml.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef CALLEDBYQML_H -#define CALLEDBYQML_H -#include <QObject> - -class CalledByQml : public QObject -{ - Q_OBJECT - -public: - explicit CalledByQml(QObject *parent = 0); - Q_INVOKABLE int consoleout(); - Q_INVOKABLE int showup(); - -signals: - -public slots: - void refresh() { - qDebug("Called the C++ slot"); - } -}; - -#endif // CALLEDBYQML_H |