summaryrefslogtreecommitdiffstats
path: root/kdecore/network
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/network
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/network')
-rw-r--r--kdecore/network/kclientsocketbase.h2
-rw-r--r--kdecore/network/ksocketdevice.cpp2
-rw-r--r--kdecore/network/ksocketdevice.h2
3 files changed, 3 insertions, 3 deletions
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.