BluezQt::ObexFileTransferEntry

Search for usage in LXR

BluezQt::ObexFileTransferEntry Class Reference

#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
 
ObexFileTransferEntryoperator= (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.

Definition at line 26 of file obexfiletransferentry.h.

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]

BluezQt::ObexFileTransferEntry::ObexFileTransferEntry ( )
explicit

Creates a new invalid ObexFileTransferEntry object.

Definition at line 33 of file obexfiletransferentry.cpp.

◆ ~ObexFileTransferEntry()

BluezQt::ObexFileTransferEntry::~ObexFileTransferEntry ( )
virtual

Destroys an ObexFileTransferEntry object.

Definition at line 60 of file obexfiletransferentry.cpp.

◆ ObexFileTransferEntry() [2/2]

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

Copy constructor.

Parameters
other

Definition at line 64 of file obexfiletransferentry.cpp.

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)

Copy assignment operator.

Parameters
other

Definition at line 69 of file obexfiletransferentry.cpp.

◆ 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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sun Nov 27 2022 04:09:33 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.