Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
FileProperty Class Reference

#include <fileproperty_p.h>

+ Collaboration diagram for FileProperty:

Public Member Functions

 FileProperty (const QFileInfo &info)
 
 ~FileProperty ()
 
QString fileName () const
 
QString filePath () const
 
QString baseName () const
 
qint64 size () const
 
QString suffix () const
 
bool isDir () const
 
bool isFile () const
 
QDateTime lastModified () const
 
QDateTime lastRead () const
 
bool operator!= (const FileProperty &fileInfo) const
 
bool operator== (const FileProperty &property) const
 

Detailed Description

Definition at line 24 of file fileproperty_p.h.

Constructor & Destructor Documentation

◆ FileProperty()

FileProperty::FileProperty ( const QFileInfo info)
inline

Definition at line 27 of file fileproperty_p.h.

◆ ~FileProperty()

FileProperty::~FileProperty ( )
inline

Definition at line 39 of file fileproperty_p.h.

Member Function Documentation

◆ baseName()

QString FileProperty::baseName ( ) const
inline

Definition at line 44 of file fileproperty_p.h.

◆ fileName()

QString FileProperty::fileName ( ) const
inline

Definition at line 42 of file fileproperty_p.h.

◆ filePath()

QString FileProperty::filePath ( ) const
inline

Definition at line 43 of file fileproperty_p.h.

◆ isDir()

bool FileProperty::isDir ( ) const
inline

Definition at line 47 of file fileproperty_p.h.

Referenced by operator==().

+ Here is the caller graph for this function:

◆ isFile()

bool FileProperty::isFile ( ) const
inline

Definition at line 48 of file fileproperty_p.h.

◆ lastModified()

QDateTime FileProperty::lastModified ( ) const
inline

Definition at line 49 of file fileproperty_p.h.

◆ lastRead()

QDateTime FileProperty::lastRead ( ) const
inline

Definition at line 50 of file fileproperty_p.h.

◆ operator!=()

bool FileProperty::operator!= ( const FileProperty fileInfo) const
inline

Definition at line 52 of file fileproperty_p.h.

References operator==().

+ Here is the call graph for this function:

◆ operator==()

bool FileProperty::operator== ( const FileProperty property) const
inline

Definition at line 55 of file fileproperty_p.h.

References isDir(), and property.

Referenced by operator!=().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ size()

qint64 FileProperty::size ( ) const
inline

Definition at line 45 of file fileproperty_p.h.

◆ suffix()

QString FileProperty::suffix ( ) const
inline

Definition at line 46 of file fileproperty_p.h.


The documentation for this class was generated from the following file: