QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_QUrlInfo.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_QURLINFO_H
2 #define QTSCRIPTSHELL_QURLINFO_H
3 
4 #include <qurlinfo.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_QUrlInfo : public QUrlInfo
9 {
10 public:
12  QtScriptShell_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);
13  QtScriptShell_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);
14  QtScriptShell_QUrlInfo(const QUrlInfo& ui);
16 
17  void setDir(bool b);
18  void setFile(bool b);
19  void setGroup(const QString& s);
20  void setLastModified(const QDateTime& dt);
21  void setName(const QString& name);
22  void setOwner(const QString& s);
23  void setPermissions(int p);
24  void setReadable(bool b);
25  void setSize(qint64 size);
26  void setSymLink(bool b);
27  void setWritable(bool b);
28 
29  QScriptValue __qtscript_self;
30 };
31 
32 #endif // QTSCRIPTSHELL_QURLINFO_H