List of all members | Public Member Functions
QDirProto Class Reference

#include <qdirproto.h>

Inheritance diagram for QDirProto:
QObject QScriptable

Public Member Functions

 QDirProto (QObject *parent)
 
Q_INVOKABLE QString absoluteFilePath (const QString &fileName) const
 
Q_INVOKABLE QString absolutePath () const
 
Q_INVOKABLE QString canonicalPath () const
 
Q_INVOKABLE bool cd (const QString &dirName)
 
Q_INVOKABLE bool cdUp ()
 
Q_INVOKABLE uint count () const
 
Q_INVOKABLE QString dirName () const
 
Q_INVOKABLE QFileInfoList entryInfoList (const QStringList &nameFilters, QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const
 
Q_INVOKABLE QFileInfoList entryInfoList (QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const
 
Q_INVOKABLE QStringList entryList (const QStringList &nameFilters, QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const
 
Q_INVOKABLE QStringList entryList (QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const
 
Q_INVOKABLE bool exists () const
 
Q_INVOKABLE bool exists (const QString &name) const
 
Q_INVOKABLE QString filePath (const QString &fileName) const
 
Q_INVOKABLE QDir::Filters filter () const
 
Q_INVOKABLE bool isAbsolute () const
 
Q_INVOKABLE bool isReadable () const
 
Q_INVOKABLE bool isRelative () const
 
Q_INVOKABLE bool isRoot () const
 
Q_INVOKABLE bool makeAbsolute ()
 
Q_INVOKABLE bool mkdir (const QString &dirName) const
 
Q_INVOKABLE bool mkpath (const QString &dirPath) const
 
Q_INVOKABLE QStringList nameFilters () const
 
Q_INVOKABLE QString path () const
 
Q_INVOKABLE void refresh ()
 
Q_INVOKABLE QString relativeFilePath (const QString &fileName) const
 
Q_INVOKABLE bool remove (const QString &fileName)
 
Q_INVOKABLE bool rename (const QString &oldName, const QString &newName)
 
Q_INVOKABLE bool rmdir (const QString &dirName) const
 
Q_INVOKABLE bool rmpath (const QString &dirPath) const
 
Q_INVOKABLE void setFilter (QDir::Filters filters)
 
Q_INVOKABLE void setNameFilters (const QStringList &nameFilters)
 
Q_INVOKABLE void setPath (const QString &path)
 
Q_INVOKABLE void setSorting (QDir::SortFlags sort)
 
Q_INVOKABLE QDir::SortFlags sorting () const
 

Constructor & Destructor Documentation

◆ QDirProto()

QDirProto::QDirProto ( QObject parent)

Member Function Documentation

◆ absoluteFilePath()

QString QDirProto::absoluteFilePath ( const QString &  fileName) const

◆ absolutePath()

QString QDirProto::absolutePath ( ) const

◆ canonicalPath()

QString QDirProto::canonicalPath ( ) const

◆ cd()

bool QDirProto::cd ( const QString &  dirName)

◆ cdUp()

bool QDirProto::cdUp ( )

◆ count()

uint QDirProto::count ( ) const

◆ dirName()

QString QDirProto::dirName ( ) const

◆ entryInfoList() [1/2]

QFileInfoList QDirProto::entryInfoList ( const QStringList &  nameFilters,
QDir::Filters  filters = QDir::NoFilter,
QDir::SortFlags  sort = QDir::NoSort 
) const

◆ entryInfoList() [2/2]

QFileInfoList QDirProto::entryInfoList ( QDir::Filters  filters = QDir::NoFilter,
QDir::SortFlags  sort = QDir::NoSort 
) const

◆ entryList() [1/2]

QStringList QDirProto::entryList ( const QStringList &  nameFilters,
QDir::Filters  filters = QDir::NoFilter,
QDir::SortFlags  sort = QDir::NoSort 
) const

◆ entryList() [2/2]

QStringList QDirProto::entryList ( QDir::Filters  filters = QDir::NoFilter,
QDir::SortFlags  sort = QDir::NoSort 
) const

◆ exists() [1/2]

bool QDirProto::exists ( ) const

◆ exists() [2/2]

bool QDirProto::exists ( const QString &  name) const

◆ filePath()

QString QDirProto::filePath ( const QString &  fileName) const

◆ filter()

QDir::Filters QDirProto::filter ( ) const

◆ isAbsolute()

bool QDirProto::isAbsolute ( ) const

◆ isReadable()

bool QDirProto::isReadable ( ) const

◆ isRelative()

bool QDirProto::isRelative ( ) const

◆ isRoot()

bool QDirProto::isRoot ( ) const

◆ makeAbsolute()

bool QDirProto::makeAbsolute ( )

◆ mkdir()

bool QDirProto::mkdir ( const QString &  dirName) const

◆ mkpath()

bool QDirProto::mkpath ( const QString &  dirPath) const

◆ nameFilters()

QStringList QDirProto::nameFilters ( ) const

◆ path()

QString QDirProto::path ( ) const

◆ refresh()

void QDirProto::refresh ( )

◆ relativeFilePath()

QString QDirProto::relativeFilePath ( const QString &  fileName) const

◆ remove()

bool QDirProto::remove ( const QString &  fileName)

◆ rename()

bool QDirProto::rename ( const QString &  oldName,
const QString &  newName 
)

◆ rmdir()

bool QDirProto::rmdir ( const QString &  dirName) const

◆ rmpath()

bool QDirProto::rmpath ( const QString &  dirPath) const

◆ setFilter()

void QDirProto::setFilter ( QDir::Filters  filters)

◆ setNameFilters()

void QDirProto::setNameFilters ( const QStringList &  nameFilters)

◆ setPath()

void QDirProto::setPath ( const QString &  path)

◆ setSorting()

void QDirProto::setSorting ( QDir::SortFlags  sort)

◆ sorting()

QDir::SortFlags QDirProto::sorting ( ) const

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

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17