##// END OF EJS Templates
added methods to qt namespace...
added methods to qt namespace git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@71 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

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