summaryrefslogtreecommitdiffstats
path: root/kdecore/kextsock.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-29 00:07:20 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-29 00:07:20 +0000
commit9ee4144afedd77175dd068e60ef09399c684dcee (patch)
treeea89d4e804b738146dca0bbded08cdc06d9817dd /kdecore/kextsock.h
parent0d772cdcb1100285ecb0d9867fc9b795d3c8a707 (diff)
downloadtdelibs-9ee4144afedd77175dd068e60ef09399c684dcee.tar.gz
tdelibs-9ee4144afedd77175dd068e60ef09399c684dcee.zip
Restored qt_cast()
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1217837 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kextsock.h')
-rw-r--r--kdecore/kextsock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdecore/kextsock.h b/kdecore/kextsock.h
index 02922ec33..7783b319b 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(int mode = IO_Raw | IO_ReadWrite);
+ virtual bool open(OpenMode mode = (OpenMode)(IO_Raw | IO_ReadWrite));
/**
* Closes the socket. If we have data still in the write buffer yet to be