summaryrefslogtreecommitdiffstats
path: root/src/kernel/qurlinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qurlinfo.cpp')
-rw-r--r--src/kernel/qurlinfo.cpp24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/kernel/qurlinfo.cpp b/src/kernel/qurlinfo.cpp
index 67c0f52a..30ea9738 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;