BluezQt::ObexFileTransfer
#include <BluezQt/ObexFileTransfer>
Additional Inherited Members | |
Properties inherited from QObject | |
objectName | |
Static Public Member Functions inherited from QObject | |
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
bool | disconnect (const QMetaObject::Connection &connection) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
Public Attributes inherited from QObject | |
typedef | QObjectList |
Protected Member Functions inherited from QObject | |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
bool | isSignalConnected (const QMetaMethod &signal) const const |
int | receivers (const char *signal) const const |
QObject * | sender () const const |
int | senderSignalIndex () const const |
virtual void | timerEvent (QTimerEvent *event) |
Detailed Description
OBEX file transfer.
This class represents an OBEX file transfer interface.
Definition at line 32 of file obexfiletransfer.h.
Constructor & Destructor Documentation
◆ ObexFileTransfer()
|
explicit |
Creates a new ObexFileTransfer object.
This class will be typically used with a path
from result of ObexManager::createSession().
- Parameters
-
path path of session parent
Definition at line 26 of file obexfiletransfer.cpp.
◆ ~ObexFileTransfer()
|
overridedefault |
Destroys an ObexFileTransfer object.
Member Function Documentation
◆ changeFolder()
PendingCall * BluezQt::ObexFileTransfer::changeFolder | ( | const QString & | folder | ) |
Changes the current folder.
Possible errors: PendingCall::InvalidArguments, PendingCall::Failed
- Parameters
-
folder folder to be changed
- Returns
- void pending call
Definition at line 40 of file obexfiletransfer.cpp.
◆ copyFile()
PendingCall * BluezQt::ObexFileTransfer::copyFile | ( | const QString & | sourceFileName, |
const QString & | targetFileName ) |
Copies a file within the remote device.
Possible errors: PendingCall::InvalidArguments, PendingCall::Failed
- Parameters
-
sourceFileName source within the remote device targetFileName target file within the remote device
- Returns
- void pending call
Definition at line 65 of file obexfiletransfer.cpp.
◆ createFolder()
PendingCall * BluezQt::ObexFileTransfer::createFolder | ( | const QString & | folder | ) |
Creates a new folder.
Possible errors: PendingCall::InvalidArguments, PendingCall::Failed
- Parameters
-
folder name of new folder
- Returns
- void pending call
Definition at line 45 of file obexfiletransfer.cpp.
◆ deleteFile()
PendingCall * BluezQt::ObexFileTransfer::deleteFile | ( | const QString & | fileName | ) |
Deletes a file/folder within the remote device.
Possible errors: PendingCall::InvalidArguments, PendingCall::Failed
- Parameters
-
fileName file within the remote device
- Returns
- void pending call
Definition at line 75 of file obexfiletransfer.cpp.
◆ getFile()
PendingCall * BluezQt::ObexFileTransfer::getFile | ( | const QString & | targetFileName, |
const QString & | sourceFileName ) |
Gets the file from the remote device.
If an empty targetFileName
is given, a name will be automatically calculated for the temporary file.
Possible errors: PendingCall::InvalidArguments, PendingCall::Failed
- Parameters
-
targetFileName full local path where the file will be saved sourceFileName file within the remote device
- Returns
- ObexTransferPtr pending call
Definition at line 55 of file obexfiletransfer.cpp.
◆ listFolder()
PendingCall * BluezQt::ObexFileTransfer::listFolder | ( | ) |
Lists a current folder.
Possible errors: PendingCall::Failed
- Returns
- QList<ObexFileTransferEntry> pending call
Definition at line 50 of file obexfiletransfer.cpp.
◆ moveFile()
PendingCall * BluezQt::ObexFileTransfer::moveFile | ( | const QString & | sourceFileName, |
const QString & | targetFileName ) |
Moves a file within the remote device.
Possible errors: PendingCall::InvalidArguments, PendingCall::Failed
- Parameters
-
sourceFileName source file within the remote device targetFileName target file within the remote device
- Returns
- void pending call
Definition at line 70 of file obexfiletransfer.cpp.
◆ objectPath()
QDBusObjectPath BluezQt::ObexFileTransfer::objectPath | ( | ) | const |
D-Bus object path of the file transfer session.
- Returns
- object path of session
Definition at line 35 of file obexfiletransfer.cpp.
◆ putFile()
PendingCall * BluezQt::ObexFileTransfer::putFile | ( | const QString & | sourceFileName, |
const QString & | targetFileName ) |
Puts the file to the remote device.
If an empty targetFileName
is given, a name will be automatically calculated for the temporary file.
Possible errors: PendingCall::InvalidArguments, PendingCall::Failed
- Parameters
-
sourceFileName full path of the local file targetFileName file to be saved within the remote device
- Returns
- ObexTransferPtr pending call
Definition at line 60 of file obexfiletransfer.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:13:52 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.