|
|
#include "PythonQtWrapper_QDir.h"
|
|
|
|
|
|
#include <QVariant>
|
|
|
#include <qdir.h>
|
|
|
#include <qfileinfo.h>
|
|
|
#include <qlist.h>
|
|
|
#include <qstringlist.h>
|
|
|
|
|
|
QDir* PythonQtWrapper_QDir::new_QDir(const QDir& arg__1)
|
|
|
{
|
|
|
return new QDir(arg__1); }
|
|
|
|
|
|
QDir* PythonQtWrapper_QDir::new_QDir(const QString& path)
|
|
|
{
|
|
|
return new QDir(path); }
|
|
|
|
|
|
QDir* PythonQtWrapper_QDir::new_QDir(const QString& path, const QString& nameFilter, QDir::SortFlags sort, QDir::Filters filter)
|
|
|
{
|
|
|
return new QDir(path, nameFilter, sort, filter); }
|
|
|
|
|
|
QString PythonQtWrapper_QDir::absoluteFilePath(QDir* theWrappedObject, const QString& fileName) const
|
|
|
{
|
|
|
return theWrappedObject->absoluteFilePath(fileName);
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QDir::absolutePath(QDir* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->absolutePath();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QDir::static_QDir_addSearchPath(const QString& prefix, const QString& path)
|
|
|
{
|
|
|
QDir::addSearchPath(prefix, path);
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QDir::canonicalPath(QDir* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->canonicalPath();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::cd(QDir* theWrappedObject, const QString& dirName)
|
|
|
{
|
|
|
return theWrappedObject->cd(dirName);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::cdUp(QDir* theWrappedObject)
|
|
|
{
|
|
|
return theWrappedObject->cdUp();
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QDir::static_QDir_cleanPath(const QString& path)
|
|
|
{
|
|
|
return QDir::cleanPath(path);
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QDir::static_QDir_convertSeparators(const QString& pathName)
|
|
|
{
|
|
|
return QDir::convertSeparators(pathName);
|
|
|
}
|
|
|
|
|
|
uint PythonQtWrapper_QDir::count(QDir* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->count();
|
|
|
}
|
|
|
|
|
|
QDir PythonQtWrapper_QDir::static_QDir_current()
|
|
|
{
|
|
|
return QDir::current();
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QDir::static_QDir_currentPath()
|
|
|
{
|
|
|
return QDir::currentPath();
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QDir::dirName(QDir* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->dirName();
|
|
|
}
|
|
|
|
|
|
QList<QFileInfo > PythonQtWrapper_QDir::static_QDir_drives()
|
|
|
{
|
|
|
return QDir::drives();
|
|
|
}
|
|
|
|
|
|
QList<QFileInfo > PythonQtWrapper_QDir::entryInfoList(QDir* theWrappedObject, QDir::Filters filters, QDir::SortFlags sort) const
|
|
|
{
|
|
|
return theWrappedObject->entryInfoList(filters, sort);
|
|
|
}
|
|
|
|
|
|
QList<QFileInfo > PythonQtWrapper_QDir::entryInfoList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort) const
|
|
|
{
|
|
|
return theWrappedObject->entryInfoList(nameFilters, filters, sort);
|
|
|
}
|
|
|
|
|
|
QStringList PythonQtWrapper_QDir::entryList(QDir* theWrappedObject, QDir::Filters filters, QDir::SortFlags sort) const
|
|
|
{
|
|
|
return theWrappedObject->entryList(filters, sort);
|
|
|
}
|
|
|
|
|
|
QStringList PythonQtWrapper_QDir::entryList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort) const
|
|
|
{
|
|
|
return theWrappedObject->entryList(nameFilters, filters, sort);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::exists(QDir* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->exists();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::exists(QDir* theWrappedObject, const QString& name) const
|
|
|
{
|
|
|
return theWrappedObject->exists(name);
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QDir::filePath(QDir* theWrappedObject, const QString& fileName) const
|
|
|
{
|
|
|
return theWrappedObject->filePath(fileName);
|
|
|
}
|
|
|
|
|
|
QDir::Filters PythonQtWrapper_QDir::filter(QDir* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->filter();
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QDir::static_QDir_fromNativeSeparators(const QString& pathName)
|
|
|
{
|
|
|
return QDir::fromNativeSeparators(pathName);
|
|
|
}
|
|
|
|
|
|
QDir PythonQtWrapper_QDir::static_QDir_home()
|
|
|
{
|
|
|
return QDir::home();
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QDir::static_QDir_homePath()
|
|
|
{
|
|
|
return QDir::homePath();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::isAbsolute(QDir* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->isAbsolute();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::static_QDir_isAbsolutePath(const QString& path)
|
|
|
{
|
|
|
return QDir::isAbsolutePath(path);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::isReadable(QDir* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->isReadable();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::isRelative(QDir* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->isRelative();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::static_QDir_isRelativePath(const QString& path)
|
|
|
{
|
|
|
return QDir::isRelativePath(path);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::isRoot(QDir* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->isRoot();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::makeAbsolute(QDir* theWrappedObject)
|
|
|
{
|
|
|
return theWrappedObject->makeAbsolute();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::static_QDir_match(const QString& filter, const QString& fileName)
|
|
|
{
|
|
|
return QDir::match(filter, fileName);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::static_QDir_match(const QStringList& filters, const QString& fileName)
|
|
|
{
|
|
|
return QDir::match(filters, fileName);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::mkdir(QDir* theWrappedObject, const QString& dirName) const
|
|
|
{
|
|
|
return theWrappedObject->mkdir(dirName);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::mkpath(QDir* theWrappedObject, const QString& dirPath) const
|
|
|
{
|
|
|
return theWrappedObject->mkpath(dirPath);
|
|
|
}
|
|
|
|
|
|
QStringList PythonQtWrapper_QDir::nameFilters(QDir* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->nameFilters();
|
|
|
}
|
|
|
|
|
|
QStringList PythonQtWrapper_QDir::static_QDir_nameFiltersFromString(const QString& nameFilter)
|
|
|
{
|
|
|
return QDir::nameFiltersFromString(nameFilter);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::operator_equal(QDir* theWrappedObject, const QDir& dir) const
|
|
|
{
|
|
|
return *theWrappedObject == dir;
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QDir::operator_subscript(QDir* theWrappedObject, int arg__1) const
|
|
|
{
|
|
|
return (*theWrappedObject)[arg__1];
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QDir::path(QDir* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->path();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QDir::refresh(QDir* theWrappedObject) const
|
|
|
{
|
|
|
theWrappedObject->refresh();
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QDir::relativeFilePath(QDir* theWrappedObject, const QString& fileName) const
|
|
|
{
|
|
|
return theWrappedObject->relativeFilePath(fileName);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::remove(QDir* theWrappedObject, const QString& fileName)
|
|
|
{
|
|
|
return theWrappedObject->remove(fileName);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::rename(QDir* theWrappedObject, const QString& oldName, const QString& newName)
|
|
|
{
|
|
|
return theWrappedObject->rename(oldName, newName);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::rmdir(QDir* theWrappedObject, const QString& dirName) const
|
|
|
{
|
|
|
return theWrappedObject->rmdir(dirName);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::rmpath(QDir* theWrappedObject, const QString& dirPath) const
|
|
|
{
|
|
|
return theWrappedObject->rmpath(dirPath);
|
|
|
}
|
|
|
|
|
|
QDir PythonQtWrapper_QDir::static_QDir_root()
|
|
|
{
|
|
|
return QDir::root();
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QDir::static_QDir_rootPath()
|
|
|
{
|
|
|
return QDir::rootPath();
|
|
|
}
|
|
|
|
|
|
QStringList PythonQtWrapper_QDir::static_QDir_searchPaths(const QString& prefix)
|
|
|
{
|
|
|
return QDir::searchPaths(prefix);
|
|
|
}
|
|
|
|
|
|
QChar PythonQtWrapper_QDir::static_QDir_separator()
|
|
|
{
|
|
|
return QDir::separator();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QDir::static_QDir_setCurrent(const QString& path)
|
|
|
{
|
|
|
return QDir::setCurrent(path);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QDir::setFilter(QDir* theWrappedObject, QDir::Filters filter)
|
|
|
{
|
|
|
theWrappedObject->setFilter(filter);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QDir::setNameFilters(QDir* theWrappedObject, const QStringList& nameFilters)
|
|
|
{
|
|
|
theWrappedObject->setNameFilters(nameFilters);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QDir::setPath(QDir* theWrappedObject, const QString& path)
|
|
|
{
|
|
|
theWrappedObject->setPath(path);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QDir::static_QDir_setSearchPaths(const QString& prefix, const QStringList& searchPaths)
|
|
|
{
|
|
|
QDir::setSearchPaths(prefix, searchPaths);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QDir::setSorting(QDir* theWrappedObject, QDir::SortFlags sort)
|
|
|
{
|
|
|
theWrappedObject->setSorting(sort);
|
|
|
}
|
|
|
|
|
|
QDir::SortFlags PythonQtWrapper_QDir::sorting(QDir* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->sorting();
|
|
|
}
|
|
|
|
|
|
QDir PythonQtWrapper_QDir::static_QDir_temp()
|
|
|
{
|
|
|
return QDir::temp();
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QDir::static_QDir_tempPath()
|
|
|
{
|
|
|
return QDir::tempPath();
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QDir::static_QDir_toNativeSeparators(const QString& pathName)
|
|
|
{
|
|
|
return QDir::toNativeSeparators(pathName);
|
|
|
}
|
|
|
|
|
|
|