BluezQt::ObexFileTransferEntry
#include <BluezQt/ObexFileTransferEntry>
Public Types | |
enum | Type { File , Folder , Invalid } |
Public Member Functions | |
ObexFileTransferEntry () | |
ObexFileTransferEntry (const ObexFileTransferEntry &other) | |
virtual | ~ObexFileTransferEntry () |
bool | isValid () const |
QString | label () const |
QString | memoryType () const |
QDateTime | modificationTime () const |
QString | name () const |
ObexFileTransferEntry & | operator= (const ObexFileTransferEntry &other) |
QString | permissions () const |
quint64 | size () const |
Type | type () const |
Detailed Description
OBEX file transfer entry.
This class represents an entry in remote file system.
Member Enumeration Documentation
◆ Type
Type of entry.
Enumerator | |
---|---|
File | Indicates that the entry is a file. |
Folder | Indicates that the entry is a folder. |
Invalid | Indicates that the entry is invalid. |
Definition at line 30 of file obexfiletransferentry.h.
Constructor & Destructor Documentation
◆ ObexFileTransferEntry() [1/2]
|
explicit |
Creates a new invalid ObexFileTransferEntry object.
Definition at line 33 of file obexfiletransferentry.cpp.
◆ ~ObexFileTransferEntry()
|
virtual |
Destroys an ObexFileTransferEntry object.
Definition at line 60 of file obexfiletransferentry.cpp.
◆ ObexFileTransferEntry() [2/2]
BluezQt::ObexFileTransferEntry::ObexFileTransferEntry | ( | const ObexFileTransferEntry & | other | ) |
Member Function Documentation
◆ isValid()
bool BluezQt::ObexFileTransferEntry::isValid | ( | ) | const |
Returns whether the entry is valid.
This only checks if type() != Invalid.
- Returns
- true if entry is valid
Definition at line 77 of file obexfiletransferentry.cpp.
◆ label()
QString BluezQt::ObexFileTransferEntry::label | ( | ) | const |
Returns a label of the entry.
- Returns
- label of entry
Definition at line 87 of file obexfiletransferentry.cpp.
◆ memoryType()
QString BluezQt::ObexFileTransferEntry::memoryType | ( | ) | const |
Returns a memory type where the entry is stored.
- Returns
- memory type
Definition at line 107 of file obexfiletransferentry.cpp.
◆ modificationTime()
QDateTime BluezQt::ObexFileTransferEntry::modificationTime | ( | ) | const |
Returns a modification time of the entry.
- Returns
- modification time of entry
Definition at line 112 of file obexfiletransferentry.cpp.
◆ name()
QString BluezQt::ObexFileTransferEntry::name | ( | ) | const |
Returns a name of the entry.
- Returns
- name of entry
Definition at line 82 of file obexfiletransferentry.cpp.
◆ operator=()
ObexFileTransferEntry & BluezQt::ObexFileTransferEntry::operator= | ( | const ObexFileTransferEntry & | other | ) |
◆ permissions()
QString BluezQt::ObexFileTransferEntry::permissions | ( | ) | const |
Returns a permissions of the entry.
- Returns
- permissions of entry
Definition at line 102 of file obexfiletransferentry.cpp.
◆ size()
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.
- Returns
- size of entry
Definition at line 97 of file obexfiletransferentry.cpp.
◆ type()
ObexFileTransferEntry::Type BluezQt::ObexFileTransferEntry::type | ( | ) | const |
Returns a type of the entry.
Entry can be either a file or folder.
- Returns
- type of entry
Definition at line 92 of file obexfiletransferentry.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:01:37 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.