API reference - Class QFileInfoNotation used in Ruby API documentation Description: Binding of QFileInfo
Public constructors
Public methods
Deprecated methods (protected, public, static, non-static and constructors)
Detailed descriptionbool !=(const QFileInfo fileinfo)Description: Method bool QFileInfo::operator!=(const QFileInfo &fileinfo) [const] bool !=(const QFileInfo fileinfo)Description: Method bool QFileInfo::operator!=(const QFileInfo &fileinfo) bool ==(const QFileInfo fileinfo)Description: Method bool QFileInfo::operator==(const QFileInfo &fileinfo) [const] bool ==(const QFileInfo fileinfo)Description: Method bool QFileInfo::operator==(const QFileInfo &fileinfo) void _assign(const QFileInfo other)Description: Assigns another object to self void _createDescription: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. void _destroyDescription: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. [const] bool _destroyed?Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. [const] bool _is_const_object?Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. void _manageDescription: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. void _unmanageDescription: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. [const] QDir absoluteDirDescription: Method QDir QFileInfo::absoluteDir() [const] string absoluteFilePathDescription: Method QString QFileInfo::absoluteFilePath() [const] string absolutePathDescription: Method QString QFileInfo::absolutePath() QFileInfo assign(const QFileInfo fileinfo)Description: Method QFileInfo &QFileInfo::operator=(const QFileInfo &fileinfo) [const] string baseNameDescription: Method QString QFileInfo::baseName() [const] string bundleNameDescription: Method QString QFileInfo::bundleName() [const] bool cachingDescription: Method bool QFileInfo::caching() Python specific notes:The object exposes a readable attribute 'caching'. This is the getter. void caching=(bool on)Description: Method void QFileInfo::setCaching(bool on) Python specific notes:The object exposes a writable attribute 'caching'. This is the setter. [const] string canonicalFilePathDescription: Method QString QFileInfo::canonicalFilePath() [const] string canonicalPathDescription: Method QString QFileInfo::canonicalPath() [const] string completeBaseNameDescription: Method QString QFileInfo::completeBaseName() [const] string completeSuffixDescription: Method QString QFileInfo::completeSuffix() void createDescription: Ensures the C++ object is created Use of this method is deprecated. Use _create instead [const] QDateTime createdDescription: Method QDateTime QFileInfo::created() void destroyDescription: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead void detachDescription: Method void QFileInfo::detach() [const] QDir dirDescription: Method QDir QFileInfo::dir() [const] new QFileInfo ptr dupDescription: Creates a copy of self [const] bool existsDescription: Method bool QFileInfo::exists() [const] string fileNameDescription: Method QString QFileInfo::fileName() [const] string filePathDescription: Method QString QFileInfo::filePath() [const] string groupDescription: Method QString QFileInfo::group() [const] unsigned int groupIdDescription: Method unsigned int QFileInfo::groupId() [const] bool isAbsolute?Description: Method bool QFileInfo::isAbsolute() [const] bool isBundle?Description: Method bool QFileInfo::isBundle() [const] bool isDir?Description: Method bool QFileInfo::isDir() [const] bool isExecutable?Description: Method bool QFileInfo::isExecutable() [const] bool isFile?Description: Method bool QFileInfo::isFile() [const] bool isHidden?Description: Method bool QFileInfo::isHidden() [const] bool isReadable?Description: Method bool QFileInfo::isReadable() [const] bool isRelative?Description: Method bool QFileInfo::isRelative() [const] bool isRoot?Description: Method bool QFileInfo::isRoot() [const] bool isSymLink?Description: Method bool QFileInfo::isSymLink() [const] bool isWritable?Description: Method bool QFileInfo::isWritable() [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead [const] QDateTime lastModifiedDescription: Method QDateTime QFileInfo::lastModified() [const] QDateTime lastReadDescription: Method QDateTime QFileInfo::lastRead() bool makeAbsoluteDescription: Method bool QFileInfo::makeAbsolute() [static] new QFileInfo newDescription: Constructor QFileInfo::QFileInfo() This method creates an object of class QFileInfo. Python specific notes:This method is the default initializer of the object [static] new QFileInfo new(string file)Description: Constructor QFileInfo::QFileInfo(const QString &file) This method creates an object of class QFileInfo. Python specific notes:This method is the default initializer of the object [static] new QFileInfo new(const QFile file)Description: Constructor QFileInfo::QFileInfo(const QFile &file) This method creates an object of class QFileInfo. Python specific notes:This method is the default initializer of the object [static] new QFileInfo new(const QDir dir,string file)Description: Constructor QFileInfo::QFileInfo(const QDir &dir, const QString &file) This method creates an object of class QFileInfo. Python specific notes:This method is the default initializer of the object [static] new QFileInfo new(const QFileInfo fileinfo)Description: Constructor QFileInfo::QFileInfo(const QFileInfo &fileinfo) This method creates an object of class QFileInfo. Python specific notes:This method is the default initializer of the object [const] string ownerDescription: Method QString QFileInfo::owner() [const] unsigned int ownerIdDescription: Method unsigned int QFileInfo::ownerId() [const] string pathDescription: Method QString QFileInfo::path() [const] bool permission(const QFile_QFlags_Permission permissions)Description: Method bool QFileInfo::permission(QFlags<QFile::Permission> permissions) [const] QFile_QFlags_Permission permissionsDescription: Method QFlags<QFile::Permission> QFileInfo::permissions() [const] string readLinkDescription: Method QString QFileInfo::readLink() void refreshDescription: Method void QFileInfo::refresh() void setCaching(bool on)Description: Method void QFileInfo::setCaching(bool on) Python specific notes:The object exposes a writable attribute 'caching'. This is the setter. void setFile(string file)Description: Method void QFileInfo::setFile(const QString &file) void setFile(const QFile file)Description: Method void QFileInfo::setFile(const QFile &file) void setFile(const QDir dir,string file)Description: Method void QFileInfo::setFile(const QDir &dir, const QString &file) [const] long long sizeDescription: Method qint64 QFileInfo::size() Python specific notes:This method is also available as 'len(object)' [const] string suffixDescription: Method QString QFileInfo::suffix() [const] string symLinkTargetDescription: Method QString QFileInfo::symLinkTarget() |