diff --git a/CMakeLists.txt b/CMakeLists.txt index 54add19..94d849b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,9 +37,9 @@ if (WINDOWS_BUILD AND AWSSDK_INSTALL_AS_SHARED_LIBS) endif () set(PROJECT_SOURCES main.cpp - loginwindow.cpp - loginwindow.h - loginwindow.ui + + + ) if(${QT_VERSION_MAJOR} GREATER_EQUAL 6) @@ -49,9 +49,9 @@ if(${QT_VERSION_MAJOR} GREATER_EQUAL 6) mycore.h mycore.cpp user.h user.cpp synctask.h synctask.cpp - awsutils.h awsutils.cpp - reset.h reset.cpp reset.ui - signin.h signin.cpp signin.ui + + + mainwindow.h mainwindow.cpp homeview.h homeview.cpp apirequest.h apirequest.cpp diff --git a/main.cpp b/main.cpp index d4ad2ba..1228e6b 100644 --- a/main.cpp +++ b/main.cpp @@ -1,4 +1,3 @@ -#include "loginwindow.h" #include #include "ElaApplication.h" #include "synctask.h" diff --git a/synctask.h b/synctask.h index a30232f..7debcc9 100644 --- a/synctask.h +++ b/synctask.h @@ -9,7 +9,6 @@ #include #include #include "qcontainerfwd.h" -#include "awsutils.h" //声明友元类 class SyncCore; @@ -25,7 +24,6 @@ class SyncTask int syncStatus; //1 for upload/download,2 for only upload,3 for only download. -1 for paused //lastSyncTime, use Qt::currentDateTime() to get the current time QDateTime lastSyncTime; - AWSUtils* awsutils; public: SyncTask(QString localPath, QString remotePath, int syncStatus, int id=-1);