diff options
Diffstat (limited to 'src/kernel/ntqurlinfo.h')
-rw-r--r-- | src/kernel/ntqurlinfo.h | 28 |
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; |