#ifndef HELLO_H#define HELLO_H #include <QObject> class Hello : public QObject{ Q_OBJECTpublic: Hello(QObject *parent = 0); virtual ~Hello(); public slots: QString hello(const QString &name);}; #endif // HELLO_H