| 1 | /**************************************************************************** |
| 2 | ** |
| 3 | ** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). |
| 4 | ** Contact: http://www.qt-project.org/legal |
| 5 | ** |
| 6 | ** This file is part of the QtNetwork module of the Qt Toolkit. |
| 7 | ** |
| 8 | ** $QT_BEGIN_LICENSE:LGPL$ |
| 9 | ** Commercial License Usage |
| 10 | ** Licensees holding valid commercial Qt licenses may use this file in |
| 11 | ** accordance with the commercial license agreement provided with the |
| 12 | ** Software or, alternatively, in accordance with the terms contained in |
| 13 | ** a written agreement between you and Digia. For licensing terms and |
| 14 | ** conditions see http://qt.digia.com/licensing. For further information |
| 15 | ** use the contact form at http://qt.digia.com/contact-us. |
| 16 | ** |
| 17 | ** GNU Lesser General Public License Usage |
| 18 | ** Alternatively, this file may be used under the terms of the GNU Lesser |
| 19 | ** General Public License version 2.1 as published by the Free Software |
| 20 | ** Foundation and appearing in the file LICENSE.LGPL included in the |
| 21 | ** packaging of this file. Please review the following information to |
| 22 | ** ensure the GNU Lesser General Public License version 2.1 requirements |
| 23 | ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
| 24 | ** |
| 25 | ** In addition, as a special exception, Digia gives you certain additional |
| 26 | ** rights. These rights are described in the Digia Qt LGPL Exception |
| 27 | ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
| 28 | ** |
| 29 | ** GNU General Public License Usage |
| 30 | ** Alternatively, this file may be used under the terms of the GNU |
| 31 | ** General Public License version 3.0 as published by the Free Software |
| 32 | ** Foundation and appearing in the file LICENSE.GPL included in the |
| 33 | ** packaging of this file. Please review the following information to |
| 34 | ** ensure the GNU General Public License version 3.0 requirements will be |
| 35 | ** met: http://www.gnu.org/copyleft/gpl.html. |
| 36 | ** |
| 37 | ** |
| 38 | ** $QT_END_LICENSE$ |
| 39 | ** |
| 40 | ****************************************************************************/ |
| 41 | |
| 42 | #ifndef QURLINFO_H |
| 43 | #define QURLINFO_Hcxx . . $ `src/qurlinfo.h:43:9`! |
| 44 | |
| 45 | #include "QtCore/qdatetime.h" |
| 46 | #include "QtCore/qstring.h" |
| 47 | #include "QtCore/qiodevice.h" |
| 48 | |
| 49 | QT_BEGIN_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:148:10`! |
| 50 | |
| 51 | class QUrlcxx . . $ QUrl#; |
| 52 | class QUrlInfoPrivatecxx . . $ QUrlInfoPrivate#; |
| 53 | |
| 54 | class QUrlInfocxx . . $ QUrlInfo# |
| 55 | { |
| 56 | public: |
| 57 | enum PermissionSpeccxx . . $ QUrlInfo#PermissionSpec# { |
| 58 | ReadOwnercxx . . $ QUrlInfo#ReadOwner. = 00400, WriteOwnercxx . . $ QUrlInfo#WriteOwner. = 00200, ExeOwnercxx . . $ QUrlInfo#ExeOwner. = 00100, |
| 59 | ReadGroupcxx . . $ QUrlInfo#ReadGroup. = 00040, WriteGroupcxx . . $ QUrlInfo#WriteGroup. = 00020, ExeGroupcxx . . $ QUrlInfo#ExeGroup. = 00010, |
| 60 | ReadOthercxx . . $ QUrlInfo#ReadOther. = 00004, WriteOthercxx . . $ QUrlInfo#WriteOther. = 00002, ExeOthercxx . . $ QUrlInfo#ExeOther. = 00001 }; |
| 61 | |
| 62 | QUrlInfocxx . . $ QUrlInfo#QUrlInfo(49f6e7a06ebc5aa8).(); |
| 63 | QUrlInfocxx . . $ QUrlInfo#QUrlInfo(ed216b1bc01b0eea).(const QUrlInfocxx . . $ QUrlInfo# &ui); |
| 64 | QUrlInfocxx . . $ QUrlInfo#QUrlInfo(61783fdb3df82e7e).(const QStringcxx . . $ QString# &name, int permissions, const QStringcxx . . $ QString# &owner, |
| 65 | const QStringcxx . . $ QString# &group, qint64cxx . . $ qint64# size, const QDateTimecxx . . $ QDateTime# &lastModified, |
| 66 | const QDateTimecxx . . $ QDateTime# &lastRead, bool isDir, bool isFile, bool isSymLink, |
| 67 | bool isWritable, bool isReadable, bool isExecutable); |
| 68 | QUrlInfocxx . . $ QUrlInfo#QUrlInfo(73cb98864710cde6).(const QUrlcxx . . $ QUrl# &url, int permissions, const QStringcxx . . $ QString# &owner, |
| 69 | const QStringcxx . . $ QString# &group, qint64cxx . . $ qint64# size, const QDateTimecxx . . $ QDateTime# &lastModified, |
| 70 | const QDateTimecxx . . $ QDateTime# &lastRead, bool isDir, bool isFile, bool isSymLink, |
| 71 | bool isWritable, bool isReadable, bool isExecutable); |
| 72 | QUrlInfocxx . . $ QUrlInfo# &operatorcxx . . $ QUrlInfo#`operator=`(7113a6b264a23c52).=(const QUrlInfocxx . . $ QUrlInfo# &ui); |
| 73 | virtual ~cxx . . $ QUrlInfo#`~QUrlInfo`(ced63f7c635d850d).QUrlInfocxx . . $ QUrlInfo#(); |
| 74 | |
| 75 | virtual void setNamecxx . . $ QUrlInfo#setName(3520e46b33348bf6).(const QStringcxx . . $ QString# &name); |
| 76 | virtual void setDircxx . . $ QUrlInfo#setDir(b45ddcbc8423892c).(bool b); |
| 77 | virtual void setFilecxx . . $ QUrlInfo#setFile(b45ddcbc8423892c).(bool b); |
| 78 | virtual void setSymLinkcxx . . $ QUrlInfo#setSymLink(b45ddcbc8423892c).(bool b); |
| 79 | virtual void setOwnercxx . . $ QUrlInfo#setOwner(3520e46b33348bf6).(const QStringcxx . . $ QString# &s); |
| 80 | virtual void setGroupcxx . . $ QUrlInfo#setGroup(3520e46b33348bf6).(const QStringcxx . . $ QString# &s); |
| 81 | virtual void setSizecxx . . $ QUrlInfo#setSize(35cb52607f6af42f).(qint64cxx . . $ qint64# size); |
| 82 | virtual void setWritablecxx . . $ QUrlInfo#setWritable(b45ddcbc8423892c).(bool b); |
| 83 | virtual void setReadablecxx . . $ QUrlInfo#setReadable(b45ddcbc8423892c).(bool b); |
| 84 | virtual void setPermissionscxx . . $ QUrlInfo#setPermissions(d4f767463ce0a6b3).(int p); |
| 85 | virtual void setLastModifiedcxx . . $ QUrlInfo#setLastModified(3672ecc950120406).(const QDateTimecxx . . $ QDateTime# &dt); |
| 86 | void setLastReadcxx . . $ QUrlInfo#setLastRead(3672ecc950120406).(const QDateTimecxx . . $ QDateTime# &dt); |
| 87 | |
| 88 | bool isValidcxx . . $ QUrlInfo#isValid(50ce9a9e25b4a850).() const; |
| 89 | |
| 90 | QStringcxx . . $ QString# namecxx . . $ QUrlInfo#name(6ef7b6c27b00b43d).() const; |
| 91 | int permissionscxx . . $ QUrlInfo#permissions(455f465bc33b4cdf).() const; |
| 92 | QStringcxx . . $ QString# ownercxx . . $ QUrlInfo#owner(6ef7b6c27b00b43d).() const; |
| 93 | QStringcxx . . $ QString# groupcxx . . $ QUrlInfo#group(6ef7b6c27b00b43d).() const; |
| 94 | qint64cxx . . $ qint64# sizecxx . . $ QUrlInfo#size(98833e9ab7de59a4).() const; |
| 95 | QDateTimecxx . . $ QDateTime# lastModifiedcxx . . $ QUrlInfo#lastModified(4e062b5c490497ac).() const; |
| 96 | QDateTimecxx . . $ QDateTime# lastReadcxx . . $ QUrlInfo#lastRead(4e062b5c490497ac).() const; |
| 97 | bool isDircxx . . $ QUrlInfo#isDir(50ce9a9e25b4a850).() const; |
| 98 | bool isFilecxx . . $ QUrlInfo#isFile(50ce9a9e25b4a850).() const; |
| 99 | bool isSymLinkcxx . . $ QUrlInfo#isSymLink(50ce9a9e25b4a850).() const; |
| 100 | bool isWritablecxx . . $ QUrlInfo#isWritable(50ce9a9e25b4a850).() const; |
| 101 | bool isReadablecxx . . $ QUrlInfo#isReadable(50ce9a9e25b4a850).() const; |
| 102 | bool isExecutablecxx . . $ QUrlInfo#isExecutable(50ce9a9e25b4a850).() const; |
| 103 | |
| 104 | static bool greaterThancxx . . $ QUrlInfo#greaterThan(ca79cdb475f4efb9).(const QUrlInfocxx . . $ QUrlInfo# &i1, const QUrlInfocxx . . $ QUrlInfo# &i2, |
| 105 | int sortBy); |
| 106 | static bool lessThancxx . . $ QUrlInfo#lessThan(ca79cdb475f4efb9).(const QUrlInfocxx . . $ QUrlInfo# &i1, const QUrlInfocxx . . $ QUrlInfo# &i2, |
| 107 | int sortBy); |
| 108 | static bool equalcxx . . $ QUrlInfo#equal(ca79cdb475f4efb9).(const QUrlInfocxx . . $ QUrlInfo# &i1, const QUrlInfocxx . . $ QUrlInfo# &i2, |
| 109 | int sortBy); |
| 110 | |
| 111 | bool operatorcxx . . $ QUrlInfo#`operator==`(db16b59c5a189d6d).==(const QUrlInfocxx . . $ QUrlInfo# &i) const; |
| 112 | inline bool operatorcxx . . $ QUrlInfo#`operator!=`(db16b59c5a189d6d).!=(const QUrlInfocxx . . $ QUrlInfo# &i) const |
| 113 | { return !operator==(i); } |
| 114 | |
| 115 | private: |
| 116 | QUrlInfoPrivatecxx . . $ QUrlInfoPrivate# *dcxx . . $ QUrlInfo#d.; |
| 117 | }; |
| 118 | |
| 119 | QT_END_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:149:10`! |
| 120 | |
| 121 | #endif // QURLINFO_H |