数据库驱动完成,预览窗口完成
This commit is contained in:
@@ -49,6 +49,7 @@ void TCHttpService::apiLogin()
|
||||
this->m_token = jsonObj["token"].toString();
|
||||
qDebug() << this->m_token;
|
||||
m_isOnline = true;
|
||||
ImageManager::instance()->addDomainUser(m_domain, m_userName);
|
||||
emit signal_loginSuc();
|
||||
}
|
||||
|
||||
|
||||
@@ -19,19 +19,13 @@
|
||||
#include <QHttpPart>
|
||||
#include <QHttpMultiPart>
|
||||
#include <QHash>
|
||||
#include "urldatabase.h"
|
||||
|
||||
class TCHttpService : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
private:
|
||||
typedef struct {
|
||||
QString file_name;
|
||||
int share_status;
|
||||
QString url;
|
||||
qint64 size;
|
||||
} file_info_t;
|
||||
|
||||
QMap<QString, file_info_t> m_fileMap;
|
||||
public:
|
||||
static TCHttpService* getInstance();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user