summaryrefslogtreecommitdiffstats
path: root/src/kernel/ntqurlinfo.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-09 23:09:59 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-09 23:09:59 +0900
commit83991febd2b98788a0a018e187de0dfb7d95b500 (patch)
treeec363502a3d11082cc54d17b7969f8ba605e1f01 /src/kernel/ntqurlinfo.h
parent48ea22d00b58a37508567756b2955582cd9efe5a (diff)
downloadtqt3-83991febd2b98788a0a018e187de0dfb7d95b500.tar.gz
tqt3-83991febd2b98788a0a018e187de0dfb7d95b500.zip
Remove Qt4 related stuff
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel/ntqurlinfo.h')
-rw-r--r--src/kernel/ntqurlinfo.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/kernel/ntqurlinfo.h b/src/kernel/ntqurlinfo.h
index c1c756dca..f726aa329 100644
--- a/src/kernel/ntqurlinfo.h
+++ b/src/kernel/ntqurlinfo.h
@@ -44,9 +44,6 @@
#ifndef QT_H
#include "ntqdatetime.h"
#include "ntqstring.h"
-#if defined(QT_ABI_QT4)
-#include "ntqiodevice.h"
-#endif
#endif // QT_H
class TQUrlOperator;
@@ -64,18 +61,6 @@ public:
TQUrlInfo();
TQUrlInfo( const TQUrlOperator &path, const TQString &file );
TQUrlInfo( const TQUrlInfo &ui );
-#if (TQT_VERSION-0 >= 0x040000)
-#error "TQUrlInfo::TQUrlInfo() should accept TQIODevice::Offset instead of uint"
-#elif defined(QT_ABI_QT4)
- 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 );
- 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( 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,
@@ -84,7 +69,6 @@ public:
const TQString &group, uint size, const TQDateTime &lastModified,
const TQDateTime &lastRead, bool isDir, bool isFile, bool isSymLink,
bool isWritable, bool isReadable, bool isExecutable );
-#endif
TQUrlInfo &operator=( const TQUrlInfo &ui );
virtual ~TQUrlInfo();
@@ -94,13 +78,7 @@ public:
virtual void setSymLink( bool b );
virtual void setOwner( const TQString &s );
virtual void setGroup( const TQString &s );
-#if (TQT_VERSION-0 >= 0x040000)
-#error "TQUrlInfo::setSize() should accept TQIODevice::Offset instead of uint"
-#elif defined(QT_ABI_QT4)
- virtual void setSize( TQIODevice::Offset size );
-#else
virtual void setSize( uint size );
-#endif
virtual void setWritable( bool b );
virtual void setReadable( bool b );
virtual void setPermissions( int p );
@@ -112,13 +90,7 @@ public:
int permissions() const;
TQString owner() const;
TQString group() const;
-#if (TQT_VERSION-0 >= 0x040000)
-#error "TQUrlInfo::size() should return TQIODevice::Offset instead of uint"
-#elif defined(QT_ABI_QT4)
- TQIODevice::Offset size() const;
-#else
uint size() const;
-#endif
TQDateTime lastModified() const;
TQDateTime lastRead() const;
bool isDir() const;