BluezQt 5.109.0
|
OBEX file transfer entry. More...
#include <BluezQt/ObexFileTransferEntry>
Public Types | |
enum | Type { File , Folder , Invalid } |
Type of entry. More... | |
Public Member Functions | |
ObexFileTransferEntry () | |
Creates a new invalid ObexFileTransferEntry object. | |
ObexFileTransferEntry (const ObexFileTransferEntry &other) | |
Copy constructor. | |
virtual | ~ObexFileTransferEntry () |
Destroys an ObexFileTransferEntry object. | |
bool | isValid () const |
Returns whether the entry is valid. | |
QString | label () const |
Returns a label of the entry. | |
QString | memoryType () const |
Returns a memory type where the entry is stored. | |
QDateTime | modificationTime () const |
Returns a modification time of the entry. | |
QString | name () const |
Returns a name of the entry. | |
ObexFileTransferEntry & | operator= (const ObexFileTransferEntry &other) |
Copy assignment operator. | |
QString | permissions () const |
Returns a permissions of the entry. | |
quint64 | size () const |
Returns a size of the entry. | |
Type | type () const |
Returns a type of the entry. | |
OBEX file transfer entry.
This class represents an entry in remote file system.
|
explicit |
Creates a new invalid ObexFileTransferEntry object.
|
virtual |
Destroys an ObexFileTransferEntry object.
BluezQt::ObexFileTransferEntry::ObexFileTransferEntry | ( | const ObexFileTransferEntry & | other | ) |
Copy constructor.
other |
bool BluezQt::ObexFileTransferEntry::isValid | ( | ) | const |
Returns whether the entry is valid.
This only checks if type() != Invalid.
QString BluezQt::ObexFileTransferEntry::label | ( | ) | const |
Returns a label of the entry.
QString BluezQt::ObexFileTransferEntry::memoryType | ( | ) | const |
Returns a memory type where the entry is stored.
QDateTime BluezQt::ObexFileTransferEntry::modificationTime | ( | ) | const |
Returns a modification time of the entry.
QString BluezQt::ObexFileTransferEntry::name | ( | ) | const |
Returns a name of the entry.
ObexFileTransferEntry & BluezQt::ObexFileTransferEntry::operator= | ( | const ObexFileTransferEntry & | other | ) |
Copy assignment operator.
other |
QString BluezQt::ObexFileTransferEntry::permissions | ( | ) | const |
Returns a permissions of the entry.
quint64 BluezQt::ObexFileTransferEntry::size | ( | ) | const |
Returns a size of the entry.
Size is a number of items in the folder or file size in bytes.
Type BluezQt::ObexFileTransferEntry::type | ( | ) | const |
Returns a type of the entry.
Entry can be either a file or folder.