##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QDirIterator.cpp
57 lines | 1.8 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QDirIterator.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QVariant>
#include <qdir.h>
#include <qdiriterator.h>
#include <qfileinfo.h>
#include <qstringlist.h>
QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QDir& dir, QDirIterator::IteratorFlags flags)
{
return new PythonQtShell_QDirIterator(dir, flags); }
QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QString& path, QDir::Filters filter, QDirIterator::IteratorFlags flags)
{
return new PythonQtShell_QDirIterator(path, filter, flags); }
QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QString& path, QDirIterator::IteratorFlags flags)
{
return new PythonQtShell_QDirIterator(path, flags); }
QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QString& path, const QStringList& nameFilters, QDir::Filters filters, QDirIterator::IteratorFlags flags)
{
return new PythonQtShell_QDirIterator(path, nameFilters, filters, flags); }
QString PythonQtWrapper_QDirIterator::next(QDirIterator* theWrappedObject)
{
return theWrappedObject->next();
}
QString PythonQtWrapper_QDirIterator::fileName(QDirIterator* theWrappedObject) const
{
return theWrappedObject->fileName();
}
QString PythonQtWrapper_QDirIterator::filePath(QDirIterator* theWrappedObject) const
{
return theWrappedObject->filePath();
}
QFileInfo PythonQtWrapper_QDirIterator::fileInfo(QDirIterator* theWrappedObject) const
{
return theWrappedObject->fileInfo();
}
bool PythonQtWrapper_QDirIterator::hasNext(QDirIterator* theWrappedObject) const
{
return theWrappedObject->hasNext();
}
QString PythonQtWrapper_QDirIterator::path(QDirIterator* theWrappedObject) const
{
return theWrappedObject->path();
}