diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-18 14:22:13 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-18 14:22:13 -0500 |
commit | 31b5c9983072d9aab3cd571359f5829840c2927d (patch) | |
tree | febc1c81b4d4eba017d1a73f3e54096bd0d05457 /kioslave/sftp | |
parent | a1b8986336e8a67c56c343dadda6964e8633a36a (diff) | |
download | tdebase-31b5c9983072d9aab3cd571359f5829840c2927d.tar.gz tdebase-31b5c9983072d9aab3cd571359f5829840c2927d.zip |
Fix FTBFS
Diffstat (limited to 'kioslave/sftp')
-rw-r--r-- | kioslave/sftp/sftpfileattr.cpp | 6 | ||||
-rw-r--r-- | kioslave/sftp/sftpfileattr.h | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kioslave/sftp/sftpfileattr.cpp b/kioslave/sftp/sftpfileattr.cpp index 9b7bf9b34..1ebb43f5f 100644 --- a/kioslave/sftp/sftpfileattr.cpp +++ b/kioslave/sftp/sftpfileattr.cpp @@ -42,7 +42,7 @@ sftpFileAttr::sftpFileAttr(KRemoteEncoding* encoding){ /** Constructor to initialize the file attributes on declaration. */ -sftpFileAttr::sftpFileAttr(Q_ULLONG size, uid_t uid, gid_t gid, +sftpFileAttr::sftpFileAttr(TQ_ULLONG size, uid_t uid, gid_t gid, mode_t permissions, time_t atime, time_t mtime, TQ_UINT32 extendedCount) { clear(); @@ -127,7 +127,7 @@ TQDataStream& operator<< (TQDataStream& s, const sftpFileAttr& fa) { s << (TQ_UINT32)fa.mFlags; if( fa.mFlags & SSH2_FILEXFER_ATTR_SIZE ) - { s << (Q_ULLONG)fa.mSize; } + { s << (TQ_ULLONG)fa.mSize; } if( fa.mFlags & SSH2_FILEXFER_ATTR_UIDGID ) { s << (TQ_UINT32)fa.mUid << (TQ_UINT32)fa.mGid; } @@ -170,7 +170,7 @@ TQDataStream& operator>> (TQDataStream& s, sftpFileAttr& fa) { s >> fa.mFlags; // get flags if( fa.mFlags & SSH2_FILEXFER_ATTR_SIZE ) { - Q_ULLONG fileSize; + TQ_ULLONG fileSize; s >> fileSize; fa.setFileSize(fileSize); } diff --git a/kioslave/sftp/sftpfileattr.h b/kioslave/sftp/sftpfileattr.h index 006f1d124..f0bca2527 100644 --- a/kioslave/sftp/sftpfileattr.h +++ b/kioslave/sftp/sftpfileattr.h @@ -45,7 +45,7 @@ private: // Private attributes TQ_UINT32 mFlags; /** Size of the file in bytes. Should be 64 bit safe. */ - Q_ULLONG mSize; + TQ_ULLONG mSize; /** User id of the owner of the file. */ uid_t mUid; @@ -94,7 +94,7 @@ public: ~sftpFileAttr(); /** Constructor to initialize the file attributes on declaration. */ - sftpFileAttr(Q_ULLONG size_, uid_t uid_, gid_t gid_, mode_t permissions_, + sftpFileAttr(TQ_ULLONG size_, uid_t uid_, gid_t gid_, mode_t permissions_, time_t atime_, time_t mtime_, TQ_UINT32 extendedCount_ = 0); /** Return the size of the sftp attribute not including filename or longname*/ @@ -104,7 +104,7 @@ public: void clear(); /** Set the size of the file. */ - void setFileSize(Q_ULLONG s) + void setFileSize(TQ_ULLONG s) { mSize = s; mFlags |= SSH2_FILEXFER_ATTR_SIZE; } /** The size file attribute will not be included in the UDSEntry @@ -113,7 +113,7 @@ public: { mSize = 0; mFlags &= ~SSH2_FILEXFER_ATTR_SIZE; } /** Returns the size of the file. */ - Q_ULLONG fileSize() const { return mSize; } + TQ_ULLONG fileSize() const { return mSize; } /** Sets the POSIX permissions of the file. */ void setPermissions(mode_t p) |