这是我的代码,但它给了我错误“'qnetworkreply'还没有被声明”。任何人都可以告诉我为什么会这样
#ifndef ApplicationUI_HPP_
#define ApplicationUI_HPP_
#include <QObject>
namespace bb { namespace cascades { class Application; }}
class ApplicationUI : public QObject
{
Q_OBJECT
public:
ApplicationUI(bb::cascades::Application *app);
virtual ~ApplicationUI() {}
public slots:
void onResult(QNetworkReply*);
};
#endif