diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-09 23:09:59 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-09 23:09:59 +0900 |
commit | 83991febd2b98788a0a018e187de0dfb7d95b500 (patch) | |
tree | ec363502a3d11082cc54d17b7969f8ba605e1f01 /src/kernel/qurlinfo.cpp | |
parent | 48ea22d00b58a37508567756b2955582cd9efe5a (diff) | |
download | tqt3-83991febd2b98788a0a018e187de0dfb7d95b500.tar.gz tqt3-83991febd2b98788a0a018e187de0dfb7d95b500.zip |
Remove Qt4 related stuff
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel/qurlinfo.cpp')
-rw-r--r-- | src/kernel/qurlinfo.cpp | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/src/kernel/qurlinfo.cpp b/src/kernel/qurlinfo.cpp index 67c0f52a7..30ea9738d 100644 --- a/src/kernel/qurlinfo.cpp +++ b/src/kernel/qurlinfo.cpp @@ -185,17 +185,10 @@ TQUrlInfo::TQUrlInfo( const TQUrlInfo &ui ) isExecutable. */ -#if defined(QT_ABI_QT4) -TQUrlInfo::TQUrlInfo( const TQString &name, int permissions, const TQString &owner, - const TQString &group, TQIODevice::Offset size, const TQDateTime &lastModified, - const TQDateTime &lastRead, bool isDir, bool isFile, bool isSymLink, - bool isWritable, bool isReadable, bool isExecutable ) -#else TQUrlInfo::TQUrlInfo( const TQString &name, int permissions, const TQString &owner, const TQString &group, uint size, const TQDateTime &lastModified, const TQDateTime &lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable ) -#endif { d = new TQUrlInfoPrivate; d->name = name; @@ -226,17 +219,10 @@ TQUrlInfo::TQUrlInfo( const TQString &name, int permissions, const TQString &own isExecutable. */ -#if defined(QT_ABI_QT4) -TQUrlInfo::TQUrlInfo( const TQUrl &url, int permissions, const TQString &owner, - const TQString &group, TQIODevice::Offset size, const TQDateTime &lastModified, - const TQDateTime &lastRead, bool isDir, bool isFile, bool isSymLink, - bool isWritable, bool isReadable, bool isExecutable ) -#else TQUrlInfo::TQUrlInfo( const TQUrl &url, int permissions, const TQString &owner, const TQString &group, uint size, const TQDateTime &lastModified, const TQDateTime &lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable ) -#endif { d = new TQUrlInfoPrivate; d->name = TQFileInfo( url.path() ).fileName(); @@ -407,11 +393,7 @@ void TQUrlInfo::setGroup( const TQString &s ) \sa isValid() */ -#if defined(QT_ABI_QT4) -void TQUrlInfo::setSize( TQIODevice::Offset size ) -#else void TQUrlInfo::setSize( uint size ) -#endif { if ( !d ) d = new TQUrlInfoPrivate; @@ -542,15 +524,11 @@ TQString TQUrlInfo::group() const \sa isValid() */ -#if defined(QT_ABI_QT4) -TQIODevice::Offset TQUrlInfo::size() const -#else uint TQUrlInfo::size() const -#endif { if ( !d ) return 0; -#if defined(QT_LARGEFILE_SUPPORT) && !defined(QT_ABI_QT4) +#if defined(QT_LARGEFILE_SUPPORT) return d->size > UINT_MAX ? UINT_MAX : (uint)d->size; #else return d->size; |