##// 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_QFileInfo.h
74 lines | 3.3 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QFILEINFO_H
#define PYTHONQTWRAPPER_QFILEINFO_H
#include <qfileinfo.h>
#include <QObject>
#include <PythonQt.h>
#include <QDateTime>
#include <QDir>
#include <QVariant>
#include <qdatetime.h>
#include <qdir.h>
#include <qfile.h>
#include <qfileinfo.h>
class PythonQtWrapper_QFileInfo : public QObject
{ Q_OBJECT
public:
public slots:
QFileInfo* new_QFileInfo();
QFileInfo* new_QFileInfo(const QDir& dir, const QString& file);
QFileInfo* new_QFileInfo(const QFile& file);
QFileInfo* new_QFileInfo(const QFileInfo& fileinfo);
QFileInfo* new_QFileInfo(const QString& file);
void delete_QFileInfo(QFileInfo* obj) { delete obj; }
QString absoluteFilePath(QFileInfo* theWrappedObject) const;
void setFile(QFileInfo* theWrappedObject, const QString& file);
bool isReadable(QFileInfo* theWrappedObject) const;
QString canonicalFilePath(QFileInfo* theWrappedObject) const;
QString owner(QFileInfo* theWrappedObject) const;
void setCaching(QFileInfo* theWrappedObject, bool on);
bool makeAbsolute(QFileInfo* theWrappedObject);
QFile::Permissions permissions(QFileInfo* theWrappedObject) const;
QString baseName(QFileInfo* theWrappedObject) const;
QString group(QFileInfo* theWrappedObject) const;
bool isDir(QFileInfo* theWrappedObject) const;
QString completeBaseName(QFileInfo* theWrappedObject) const;
QString canonicalPath(QFileInfo* theWrappedObject) const;
QString filePath(QFileInfo* theWrappedObject) const;
uint ownerId(QFileInfo* theWrappedObject) const;
bool isExecutable(QFileInfo* theWrappedObject) const;
QString fileName(QFileInfo* theWrappedObject) const;
QDateTime created(QFileInfo* theWrappedObject) const;
QString completeSuffix(QFileInfo* theWrappedObject) const;
QString path(QFileInfo* theWrappedObject) const;
QString suffix(QFileInfo* theWrappedObject) const;
bool isHidden(QFileInfo* theWrappedObject) const;
void setFile(QFileInfo* theWrappedObject, const QDir& dir, const QString& file);
QString bundleName(QFileInfo* theWrappedObject) const;
bool operator_equal(QFileInfo* theWrappedObject, const QFileInfo& fileinfo);
bool isAbsolute(QFileInfo* theWrappedObject) const;
QString absolutePath(QFileInfo* theWrappedObject) const;
QString symLinkTarget(QFileInfo* theWrappedObject) const;
void setFile(QFileInfo* theWrappedObject, const QFile& file);
QDir absoluteDir(QFileInfo* theWrappedObject) const;
bool isFile(QFileInfo* theWrappedObject) const;
void refresh(QFileInfo* theWrappedObject);
bool isSymLink(QFileInfo* theWrappedObject) const;
bool isRelative(QFileInfo* theWrappedObject) const;
QDateTime lastRead(QFileInfo* theWrappedObject) const;
uint groupId(QFileInfo* theWrappedObject) const;
bool isWritable(QFileInfo* theWrappedObject) const;
bool caching(QFileInfo* theWrappedObject) const;
bool isRoot(QFileInfo* theWrappedObject) const;
QDir dir(QFileInfo* theWrappedObject) const;
QDateTime lastModified(QFileInfo* theWrappedObject) const;
bool permission(QFileInfo* theWrappedObject, QFile::Permissions permissions) const;
bool isBundle(QFileInfo* theWrappedObject) const;
qint64 size(QFileInfo* theWrappedObject) const;
bool exists(QFileInfo* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QFILEINFO_H