1 #ifndef MUSICCLOUDMANAGERWIDGET_H
2 #define MUSICCLOUDMANAGERWIDGET_H
30 class QNetworkAccessManager;
58 void resizeGeometry()
const;
64 void updateLabelMessage(
const QString &text);
68 void updataSizeLabel(qint64
size);
82 void downloadKeyFinished(
const QByteArray &bytes);
86 void receiveDataFinshed(
const QSyncDataItemList &items);
90 void uploadFileFinished(
const QString &time,
bool state);
94 void deleteFileFinished(
bool state);
99 void updateListFromServer();
103 void deleteFileFromServer();
107 void deleteFilesFromServer();
111 void downloadFileFromServer();
116 void cancelUploadFilesToServer();
120 void uploadFilesToServer();
124 void uploadFileDirToServer();
128 void reuploadFilesToServer(
const QStringList &items);
133 void uploadProgress(
const QString &time, qint64 percent, qint64 total);
141 void showFileInformationWidget();
147 virtual void contextMenuEvent(QContextMenuEvent *event)
override final;
151 bool cloudConfigValid()
const;
159 void uploadFilesToServer(
const QStringList &paths);
163 void createUploadFileModule();
167 void startToUploadFile();
171 int findUploadItemRow(
const QString &time)
const;
222 void updataSizeLabel(qint64
size);
226 void downloadFileFromServer();
230 void deleteFileFromServer();
234 void uploadFilesToServer();
240 virtual void resizeEvent(QResizeEvent *event)
override final;
249 #endif // MUSICCLOUDMANAGERWIDGET_H
#define TTK_MODULE_EXPORT
The class of the progress bar item delegate.
The class of the sync cloud download data.
The class of the cloud data item.
The class of the sync cloud upload data.
The class of the sync cloud list data.
#define TTK_DECLARE_MODULE(Class)
TTK_MODULE_EXPORT void initialize(TTK::Attribute attr)
The class of the widget resize interface.
virtual void resizeGeometry()=0
The class of the sync cloud delete data.