##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
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;
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