manual send (to ip)
This commit is contained in:
@@ -86,6 +86,7 @@ public:
|
||||
|
||||
Q_INVOKABLE void sendFiles(const QString& deviceFingerprint, const QStringList& filePaths);
|
||||
Q_INVOKABLE void sendTo(const QString& deviceFingerprint);
|
||||
Q_INVOKABLE void sendToAddress(const QString& address);
|
||||
Q_INVOKABLE void cancelSend();
|
||||
Q_INVOKABLE void addFiles(const QStringList& filePaths);
|
||||
Q_INVOKABLE void removePendingFile(int index);
|
||||
@@ -137,6 +138,8 @@ private slots:
|
||||
void onUploadProgress(qint64 sent, qint64 total);
|
||||
void onUploadCompleted();
|
||||
void onUploadError(const QString& error);
|
||||
void onManualRegisterCompleted(const LocalSend::InfoDto& peerInfo);
|
||||
void onManualRegisterError(const QString& error);
|
||||
|
||||
void onCancelRequest(const QString& sessionId);
|
||||
|
||||
@@ -175,4 +178,7 @@ private:
|
||||
LocalSend::RegisterDto buildRegisterDto() const;
|
||||
void resetSendState();
|
||||
void resetReceiveState();
|
||||
|
||||
bool m_manualSendPending = false;
|
||||
LocalSend::Device m_manualSendDevice;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user