Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 26 of file fileproperty_p.h.

Constructor & Destructor Documentation

◆ FileProperty()

FileProperty::FileProperty ( const QFileInfo & info)
inline

Definition at line 31 of file fileproperty_p.h.

◆ ~FileProperty()

FileProperty::~FileProperty ( )
inline

Definition at line 43 of file fileproperty_p.h.

Member Function Documentation

◆ baseName()

QString FileProperty::baseName ( ) const
inline

Definition at line 48 of file fileproperty_p.h.

◆ fileName()

QString FileProperty::fileName ( ) const
inline

Definition at line 46 of file fileproperty_p.h.

◆ filePath()

QString FileProperty::filePath ( ) const
inline

Definition at line 47 of file fileproperty_p.h.

◆ isDir()

bool FileProperty::isDir ( ) const
inline

Definition at line 51 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 52 of file fileproperty_p.h.

◆ lastModified()

QDateTime FileProperty::lastModified ( ) const
inline

Definition at line 53 of file fileproperty_p.h.

◆ lastRead()

QDateTime FileProperty::lastRead ( ) const
inline

Definition at line 54 of file fileproperty_p.h.

◆ operator!=()

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

Definition at line 56 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 59 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 49 of file fileproperty_p.h.

◆ suffix()

QString FileProperty::suffix ( ) const
inline

Definition at line 50 of file fileproperty_p.h.


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