#ifndef PYTHONQTWRAPPER_QFILEINFO_H #define PYTHONQTWRAPPER_QFILEINFO_H #include #include #include #include #include #include #include #include #include #include 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; bool isExecutable(QFileInfo* theWrappedObject) const; QString suffix(QFileInfo* theWrappedObject) const; void setFile(QFileInfo* theWrappedObject, const QDir& dir, const QString& file); QString bundleName(QFileInfo* theWrappedObject) const; bool isDir(QFileInfo* theWrappedObject) const; QFile::Permissions permissions(QFileInfo* theWrappedObject) const; void setFile(QFileInfo* theWrappedObject, const QFile& file); QDir absoluteDir(QFileInfo* theWrappedObject) const; QString owner(QFileInfo* theWrappedObject) const; void setCaching(QFileInfo* theWrappedObject, bool on); bool isHidden(QFileInfo* theWrappedObject) const; QDir dir(QFileInfo* theWrappedObject) const; uint ownerId(QFileInfo* theWrappedObject) const; QString baseName(QFileInfo* theWrappedObject) const; QString fileName(QFileInfo* theWrappedObject) const; bool isSymLink(QFileInfo* theWrappedObject) const; QDateTime created(QFileInfo* theWrappedObject) const; QString canonicalPath(QFileInfo* theWrappedObject) const; uint groupId(QFileInfo* theWrappedObject) const; bool isRoot(QFileInfo* theWrappedObject) const; bool caching(QFileInfo* theWrappedObject) const; void refresh(QFileInfo* theWrappedObject); QString absolutePath(QFileInfo* theWrappedObject) const; QDateTime lastModified(QFileInfo* theWrappedObject) const; qint64 size(QFileInfo* theWrappedObject) const; bool isBundle(QFileInfo* theWrappedObject) const; QString symLinkTarget(QFileInfo* theWrappedObject) const; bool isFile(QFileInfo* theWrappedObject) const; bool isRelative(QFileInfo* theWrappedObject) const; bool isReadable(QFileInfo* theWrappedObject) const; bool isWritable(QFileInfo* theWrappedObject) const; QString canonicalFilePath(QFileInfo* theWrappedObject) const; bool isAbsolute(QFileInfo* theWrappedObject) const; bool exists(QFileInfo* theWrappedObject) const; QString filePath(QFileInfo* theWrappedObject) const; bool operator_equal(QFileInfo* theWrappedObject, const QFileInfo& fileinfo); bool makeAbsolute(QFileInfo* theWrappedObject); QString group(QFileInfo* theWrappedObject) const; bool permission(QFileInfo* theWrappedObject, QFile::Permissions permissions) const; QDateTime lastRead(QFileInfo* theWrappedObject) const; QString completeSuffix(QFileInfo* theWrappedObject) const; void setFile(QFileInfo* theWrappedObject, const QString& file); QString completeBaseName(QFileInfo* theWrappedObject) const; QString path(QFileInfo* theWrappedObject) const; }; #endif // PYTHONQTWRAPPER_QFILEINFO_H