From 83991febd2b98788a0a018e187de0dfb7d95b500 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 9 Jul 2023 23:09:59 +0900 Subject: Remove Qt4 related stuff Signed-off-by: Michele Calgaro --- src/kernel/qurlinfo.cpp | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'src/kernel/qurlinfo.cpp') 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; -- cgit v1.2.1