Pages
API Documentation
On this page

BluezQt::ObexFileTransferEntry Class

OBEX file transfer entry. More...

  • Header: #include <BluezQt/ObexFileTransferEntry>
  • CMake: find_package(KF6 REQUIRED COMPONENTS BluezQt)
    target_link_libraries(mytarget PRIVATE KF6::BluezQt)

List of all members, including inherited members

Public Types

Public Functions

Detailed Description

This class represents an entry in the remote file system.

Member Type Documentation

enum ObexFileTransferEntry::Type

Type of entry.

Constant Value Description
BluezQt::ObexFileTransferEntry::File 0 Indicates that the entry is a file.
BluezQt::ObexFileTransferEntry::Folder 1 Indicates that the entry is a folder.
BluezQt::ObexFileTransferEntry::Invalid 2 Indicates that the entry is invalid.

Member Function Documentation

[explicit] ObexFileTransferEntry::ObexFileTransferEntry()

Creates a new invalid ObexFileTransferEntry object.

ObexFileTransferEntry::ObexFileTransferEntry(const BluezQt::ObexFileTransferEntry &other)

Constructs a new ObexFileTransferEntry object from other.

bool ObexFileTransferEntry::isValid() const

Returns whether the entry is valid.

This only checks if type() != Invalid.

QString ObexFileTransferEntry::label() const

Returns the label of the entry.

QString ObexFileTransferEntry::memoryType() const

Returns memory type where the entry is stored.

QDateTime ObexFileTransferEntry::modificationTime() const

Returns the modification time of the entry.

QString ObexFileTransferEntry::name() const

Returns the name of the entry.

QString ObexFileTransferEntry::permissions() const

Returns the permissions of the entry.

quint64 ObexFileTransferEntry::size() const

Returns the size of the entry.

The size is a number of items in the folder or file size in bytes.

BluezQt::ObexFileTransferEntry::Type ObexFileTransferEntry::type() const

Returns the type of the entry.

The entry can be either a file or folder.

BluezQt::ObexFileTransferEntry &ObexFileTransferEntry::operator=(const BluezQt::ObexFileTransferEntry &other)

Copies the ObexFileTransferEntry object from other.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.