summaryrefslogtreecommitdiffstats
path: root/kdecore
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-15 20:08:54 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-15 20:08:54 +0000
commitff7dc5f59ad2d77bcac5084782ba4e4f515efe9d (patch)
tree5a7b4f0a63359b6651c23865e47b41e46896df49 /kdecore
parent8357774e526d1dbaea12521ddc99f5ab0c40d820 (diff)
downloadtdelibs-ff7dc5f59ad2d77bcac5084782ba4e4f515efe9d.tar.gz
tdelibs-ff7dc5f59ad2d77bcac5084782ba4e4f515efe9d.zip
Honor TQ_OpenMode change made in TQt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1232119 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore')
-rw-r--r--kdecore/kextsock.cpp2
-rw-r--r--kdecore/kextsock.h2
-rw-r--r--kdecore/kqiodevicegzip_p.cpp2
-rw-r--r--kdecore/kqiodevicegzip_p.h2
-rw-r--r--kdecore/network/kclientsocketbase.h2
-rw-r--r--kdecore/network/ksocketdevice.cpp2
-rw-r--r--kdecore/network/ksocketdevice.h2
7 files changed, 7 insertions, 7 deletions
diff --git a/kdecore/kextsock.cpp b/kdecore/kextsock.cpp
index 7517bb8e0..5aad239bd 100644
--- a/kdecore/kextsock.cpp
+++ b/kdecore/kextsock.cpp
@@ -1262,7 +1262,7 @@ void KExtendedSocket::cancelAsyncConnect()
d->status = lookupDone;
}
-bool KExtendedSocket::open(OpenMode mode)
+bool KExtendedSocket::open(TQ_OpenMode mode)
{
if (mode != IO_Raw | IO_ReadWrite)
return false; // invalid open mode
diff --git a/kdecore/kextsock.h b/kdecore/kextsock.h
index 7783b319b..24957dd47 100644
--- a/kdecore/kextsock.h
+++ b/kdecore/kextsock.h
@@ -627,7 +627,7 @@ public:
* @return true if successful, false when an error occurred or the most was
* not correct
*/
- virtual bool open(OpenMode mode = (OpenMode)(IO_Raw | IO_ReadWrite));
+ virtual bool open(TQ_OpenMode mode = (TQ_OpenMode)(IO_Raw | IO_ReadWrite));
/**
* Closes the socket. If we have data still in the write buffer yet to be
diff --git a/kdecore/kqiodevicegzip_p.cpp b/kdecore/kqiodevicegzip_p.cpp
index 84409ddb0..0dcabed74 100644
--- a/kdecore/kqiodevicegzip_p.cpp
+++ b/kdecore/kqiodevicegzip_p.cpp
@@ -37,7 +37,7 @@ KQIODeviceGZip::~KQIODeviceGZip(void)
close();
}
-bool KQIODeviceGZip::open(OpenMode mode)
+bool KQIODeviceGZip::open(TQ_OpenMode mode)
{
if (m_gzfile)
close(); // One file is already open, so close it first.
diff --git a/kdecore/kqiodevicegzip_p.h b/kdecore/kqiodevicegzip_p.h
index 8ac0d3a0f..0581602c1 100644
--- a/kdecore/kqiodevicegzip_p.h
+++ b/kdecore/kqiodevicegzip_p.h
@@ -38,7 +38,7 @@ public:
KQIODeviceGZip(const TQString& filename);
~KQIODeviceGZip(void);
- bool open(OpenMode mode);
+ bool open(TQ_OpenMode mode);
void close(void);
void flush(void);
diff --git a/kdecore/network/kclientsocketbase.h b/kdecore/network/kclientsocketbase.h
index 7ec934483..75e796ffc 100644
--- a/kdecore/network/kclientsocketbase.h
+++ b/kdecore/network/kclientsocketbase.h
@@ -281,7 +281,7 @@ public:
*
* You should not call this function; instead, use @ref connect
*/
- virtual inline bool open(OpenMode)
+ virtual inline bool open(TQ_OpenMode)
{ return connect(); }
/**
diff --git a/kdecore/network/ksocketdevice.cpp b/kdecore/network/ksocketdevice.cpp
index 54c15b156..36e0a5c7b 100644
--- a/kdecore/network/ksocketdevice.cpp
+++ b/kdecore/network/ksocketdevice.cpp
@@ -171,7 +171,7 @@ bool KSocketDevice::setSocketOptions(int opts)
return true; // all went well
}
-bool KSocketDevice::open(OpenMode)
+bool KSocketDevice::open(TQ_OpenMode)
{
resetError();
return false;
diff --git a/kdecore/network/ksocketdevice.h b/kdecore/network/ksocketdevice.h
index 4e7c6353d..7c288b722 100644
--- a/kdecore/network/ksocketdevice.h
+++ b/kdecore/network/ksocketdevice.h
@@ -142,7 +142,7 @@ public:
/**
* Reimplementation from TQIODevice. You should not call this function in sockets.
*/
- virtual bool open(OpenMode mode);
+ virtual bool open(TQ_OpenMode mode);
/**
* Closes the socket. Reimplemented from TQIODevice.