BluezQt
obexfiletransfer.cpp
42 return new PendingCall(d->m_bluezFileTransfer->ChangeFolder(folder), PendingCall::ReturnVoid, this);
47 return new PendingCall(d->m_bluezFileTransfer->CreateFolder(folder), PendingCall::ReturnVoid, this);
52 return new PendingCall(d->m_bluezFileTransfer->ListFolder(), PendingCall::ReturnFileTransferList, this);
55PendingCall *ObexFileTransfer::getFile(const QString &targetFileName, const QString &sourceFileName)
57 return new PendingCall(d->m_bluezFileTransfer->GetFile(targetFileName, sourceFileName), PendingCall::ReturnTransferWithProperties, this);
60PendingCall *ObexFileTransfer::putFile(const QString &sourceFileName, const QString &targetFileName)
62 return new PendingCall(d->m_bluezFileTransfer->PutFile(sourceFileName, targetFileName), PendingCall::ReturnTransferWithProperties, this);
65PendingCall *ObexFileTransfer::copyFile(const QString &sourceFileName, const QString &targetFileName)
67 return new PendingCall(d->m_bluezFileTransfer->CopyFile(sourceFileName, targetFileName), PendingCall::ReturnVoid, this);
70PendingCall *ObexFileTransfer::moveFile(const QString &sourceFileName, const QString &targetFileName)
72 return new PendingCall(d->m_bluezFileTransfer->MoveFile(sourceFileName, targetFileName), PendingCall::ReturnVoid, this);
PendingCall * getFile(const QString &targetFileName, const QString &sourceFileName)
Gets the file from the remote device.
Definition obexfiletransfer.cpp:55
PendingCall * createFolder(const QString &folder)
Creates a new folder.
Definition obexfiletransfer.cpp:45
~ObexFileTransfer() override
Destroys an ObexFileTransfer object.
ObexFileTransfer(const QDBusObjectPath &path, QObject *parent=nullptr)
Creates a new ObexFileTransfer object.
Definition obexfiletransfer.cpp:26
QDBusObjectPath objectPath() const
D-Bus object path of the file transfer session.
Definition obexfiletransfer.cpp:35
PendingCall * changeFolder(const QString &folder)
Changes the current folder.
Definition obexfiletransfer.cpp:40
PendingCall * copyFile(const QString &sourceFileName, const QString &targetFileName)
Copies a file within the remote device.
Definition obexfiletransfer.cpp:65
PendingCall * putFile(const QString &sourceFileName, const QString &targetFileName)
Puts the file to the remote device.
Definition obexfiletransfer.cpp:60
PendingCall * deleteFile(const QString &fileName)
Deletes a file/folder within the remote device.
Definition obexfiletransfer.cpp:75
PendingCall * moveFile(const QString &sourceFileName, const QString &targetFileName)
Moves a file within the remote device.
Definition obexfiletransfer.cpp:70
Pending method call.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.