##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QUrlInfo.h
56 lines | 3.1 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QURLINFO_H
#define PYTHONQTWRAPPER_QURLINFO_H
#include <qurlinfo.h>
#include <QObject>
#include <QVariant>
#include <qdatetime.h>
#include <qurl.h>
#include <qurlinfo.h>
class PythonQtWrapper_QUrlInfo : public QObject
{ Q_OBJECT
public:
Q_ENUMS(PermissionSpec )
enum PermissionSpec{
ReadOwner = QUrlInfo::ReadOwner, WriteOwner = QUrlInfo::WriteOwner, ExeOwner = QUrlInfo::ExeOwner, ReadGroup = QUrlInfo::ReadGroup, WriteGroup = QUrlInfo::WriteGroup, ExeGroup = QUrlInfo::ExeGroup, ReadOther = QUrlInfo::ReadOther, WriteOther = QUrlInfo::WriteOther, ExeOther = QUrlInfo::ExeOther};
public slots:
QUrlInfo* new_QUrlInfo();
QUrlInfo* new_QUrlInfo(const QString& name, int permissions, const QString& owner, const QString& group, qint64 size, const QDateTime& lastModified, const QDateTime& lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable);
QUrlInfo* new_QUrlInfo(const QUrl& url, int permissions, const QString& owner, const QString& group, qint64 size, const QDateTime& lastModified, const QDateTime& lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable);
QUrlInfo* new_QUrlInfo(const QUrlInfo& ui);
void delete_QUrlInfo(QUrlInfo* obj) { delete obj; }
bool static_QUrlInfo_equal(const QUrlInfo& i1, const QUrlInfo& i2, int sortBy);
bool static_QUrlInfo_greaterThan(const QUrlInfo& i1, const QUrlInfo& i2, int sortBy);
QString group(QUrlInfo* theWrappedObject) const;
bool isDir(QUrlInfo* theWrappedObject) const;
bool isExecutable(QUrlInfo* theWrappedObject) const;
bool isFile(QUrlInfo* theWrappedObject) const;
bool isReadable(QUrlInfo* theWrappedObject) const;
bool isSymLink(QUrlInfo* theWrappedObject) const;
bool isValid(QUrlInfo* theWrappedObject) const;
bool isWritable(QUrlInfo* theWrappedObject) const;
QDateTime lastModified(QUrlInfo* theWrappedObject) const;
QDateTime lastRead(QUrlInfo* theWrappedObject) const;
bool static_QUrlInfo_lessThan(const QUrlInfo& i1, const QUrlInfo& i2, int sortBy);
QString name(QUrlInfo* theWrappedObject) const;
bool operator_equal(QUrlInfo* theWrappedObject, const QUrlInfo& i) const;
QString owner(QUrlInfo* theWrappedObject) const;
int permissions(QUrlInfo* theWrappedObject) const;
void setDir(QUrlInfo* theWrappedObject, bool b);
void setFile(QUrlInfo* theWrappedObject, bool b);
void setGroup(QUrlInfo* theWrappedObject, const QString& s);
void setLastModified(QUrlInfo* theWrappedObject, const QDateTime& dt);
void setLastRead(QUrlInfo* theWrappedObject, const QDateTime& dt);
void setName(QUrlInfo* theWrappedObject, const QString& name);
void setOwner(QUrlInfo* theWrappedObject, const QString& s);
void setPermissions(QUrlInfo* theWrappedObject, int p);
void setReadable(QUrlInfo* theWrappedObject, bool b);
void setSize(QUrlInfo* theWrappedObject, qint64 size);
void setSymLink(QUrlInfo* theWrappedObject, bool b);
void setWritable(QUrlInfo* theWrappedObject, bool b);
qint64 size(QUrlInfo* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QURLINFO_H