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