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.
29 lines
633 B
29 lines
633 B
#ifndef BASEDATAMANAGER_H
|
|
#define BASEDATAMANAGER_H
|
|
|
|
#include <QObject>
|
|
#include <QPixmap>
|
|
#include "structs.h"
|
|
#include <QDate>
|
|
|
|
class BaseDataManager : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
BaseDataManager();
|
|
virtual ~BaseDataManager();
|
|
|
|
virtual QPixmap GetVerificationCode();
|
|
virtual UserInfo Login(const QString& userName,const QString& password,const QString& code);
|
|
virtual QList<QList<QString> > GetTrends(const TrendsRequestParam& requestParam);
|
|
|
|
signals:
|
|
//请求结束 ret 返回值 0成功 非0失败
|
|
void Finished(int ret);
|
|
|
|
protected:
|
|
UserInfo m_userInfo;
|
|
};
|
|
|
|
#endif // BASEDATAMANAGER_H
|