diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-29 01:11:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-29 01:11:08 -0600 |
commit | 8a055d66f43592c257cece2eb8cc021808062917 (patch) | |
tree | d0922f201bd5d24b62a33160d1d9baf9e89f9a70 /sip/qt/qurlinfo.sip | |
parent | b388516ca2691303a076a0764fd40bf7116fe43d (diff) | |
download | pytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip |
Initial TQt conversion
Diffstat (limited to 'sip/qt/qurlinfo.sip')
-rw-r--r-- | sip/qt/qurlinfo.sip | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/sip/qt/qurlinfo.sip b/sip/qt/qurlinfo.sip index 7f2d5d3..2f1e06b 100644 --- a/sip/qt/qurlinfo.sip +++ b/sip/qt/qurlinfo.sip @@ -1,45 +1,45 @@ -// This is the SIP interface definition for QUrlInfo. +// This is the SIP interface definition for TQUrlInfo. // // Copyright (c) 2007 // Riverbank Computing Limited <info@riverbankcomputing.co.uk> // -// This file is part of PyQt. +// This file is part of PyTQt. // -// This copy of PyQt is free software; you can redistribute it and/or modify it +// This copy of PyTQt is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by the Free // Software Foundation; either version 2, or (at your option) any later // version. // -// PyQt is supplied in the hope that it will be useful, but WITHOUT ANY +// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more // details. // // You should have received a copy of the GNU General Public License along with -// PyQt; see the file LICENSE. If not, write to the Free Software Foundation, +// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation, // Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. %ExportedDoc -<Sect2><Title>QUrlInfo (Qt v2.1+)</Title> +<Sect2><Title>TQUrlInfo (TQt v2.1+)</Title> <Para> -<Literal>QUrlInfo</Literal> is fully implemented. +<Literal>TQUrlInfo</Literal> is fully implemented. </Para> </Sect2> %End -%If (Qt_NETWORKPROTOCOL) -%If (Qt_2_1_0 -) +%If (TQt_NETWORKPROTOCOL) +%If (TQt_2_1_0 -) -class QUrlInfo +class TQUrlInfo { %TypeHeaderCode #include <qurlinfo.h> %End public: -%If (Qt_3_2_0 -) +%If (TQt_3_2_0 -) enum PermissionSpec { ReadOwner, WriteOwner, ExeOwner, ReadGroup, WriteGroup, ExeGroup, @@ -47,39 +47,39 @@ public: }; %End - QUrlInfo(); - QUrlInfo(const QUrlOperator &,const QString &); - QUrlInfo(const QUrlInfo &); - QUrlInfo(const QString &,int,const QString &,const QString &,uint, - const QDateTime &,const QDateTime &,bool,bool,bool,bool,bool, + TQUrlInfo(); + TQUrlInfo(const TQUrlOperator &,const TQString &); + TQUrlInfo(const TQUrlInfo &); + TQUrlInfo(const TQString &,int,const TQString &,const TQString &,uint, + const TQDateTime &,const TQDateTime &,bool,bool,bool,bool,bool, bool); - QUrlInfo(const QUrl &,int,const QString &,const QString &,uint, - const QDateTime &,const QDateTime &,bool,bool,bool,bool,bool, + TQUrlInfo(const TQUrl &,int,const TQString &,const TQString &,uint, + const TQDateTime &,const TQDateTime &,bool,bool,bool,bool,bool, bool); - virtual void setName(const QString &); + virtual void setName(const TQString &); virtual void setDir(bool); virtual void setFile(bool); virtual void setSymLink(bool); - virtual void setOwner(const QString &); - virtual void setGroup(const QString &); + virtual void setOwner(const TQString &); + virtual void setGroup(const TQString &); virtual void setSize(uint); virtual void setWritable(bool); virtual void setReadable(bool); virtual void setPermissions(int); - virtual void setLastModified(const QDateTime &); + virtual void setLastModified(const TQDateTime &); -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) bool isValid() const; %End - QString name() const; + TQString name() const; int permissions() const; - QString owner() const; - QString group() const; + TQString owner() const; + TQString group() const; uint size() const; - QDateTime lastModified() const; - QDateTime lastRead() const; + TQDateTime lastModified() const; + TQDateTime lastRead() const; bool isDir() const; bool isFile() const; bool isSymLink() const; @@ -87,9 +87,9 @@ public: bool isReadable() const; bool isExecutable() const; - static bool greaterThan(const QUrlInfo &,const QUrlInfo &,int); - static bool lessThan(const QUrlInfo &,const QUrlInfo &,int); - static bool equal(const QUrlInfo &,const QUrlInfo &,int); + static bool greaterThan(const TQUrlInfo &,const TQUrlInfo &,int); + static bool lessThan(const TQUrlInfo &,const TQUrlInfo &,int); + static bool equal(const TQUrlInfo &,const TQUrlInfo &,int); }; %End |